You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds like ZIMception... (sorry, couldn't resit that 😉). Seriously, though, is this a realistic scenario (ZIM inside ZIM) that I need to be aware of and handle in the Kiwix JS backend?
@Jaifroid This is a scenario for custom apps utltimatively (ZIM file part of the Android app resource file). Not aware about an other one and actually wonder how @mgautierfr came to detect that bug.
@Jaifroid This is a scenario for custom apps ultimately (ZIM file part of the Android app resource file). Not aware about an other one and actually wonder how @mgautierfr came to detect that bug.
Zim file can be embedded in another file. We can open such a zim file with the fd
Archive
constructorHowever, calling check on the such archive fails.
This probably comes from the verify implementation (https://github.com/openzim/libzim/blob/main/src/fileimpl.cpp#L563-L604) which don't care of the initial offset in the fd.
The text was updated successfully, but these errors were encountered: