#1 Yesterday 11:47:59

koraycayiroglu
Member
Registered: 2017-02-03
Posts: 87

Infinite loop when opening an invalid zip file

Hi ab,

I encountered an infinite loop while reading a zip file TZipRead from mormot.core.zip, at line 2797. This is not a mormot issue because in my case that zip file is not an actual zip file. Someone thought changing a html file's extension to zip is a good idea hmm. There is a function called IsZipStart to ensure it's a real zip but in this case it returns true. Delphi's TZipFile.IsValid return's false so i am using it before TZipCreate.

Anyway, an infinite loop is maybe something you want to avoid. Just want to inform you. I am using 2.4 stable release.

Best regards.

Last edited by koraycayiroglu (Yesterday 11:48:33)

Offline

#2 Yesterday 19:00:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 15,440
Website

Re: Infinite loop when opening an invalid zip file

Can you create a ticket on GitHub, so that I could follow this item?

Offline

Board footer

Powered by FluxBB