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
Test case for a truncated zip file:
unittest
{
enum data = "\x50\x4b\x01\x02\x50\x4b\x05\x06\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
scope zip = new ZipArchive(cast(void[]) data);
}
This causes a range error at std.zip.d:1335
The text was updated successfully, but these errors were encountered:
moonlightsentinel reported this on 2020-01-21T18:40:11Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=20523
Description
Test case for a truncated zip file: unittest { enum data = "\x50\x4b\x01\x02\x50\x4b\x05\x06\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"; scope zip = new ZipArchive(cast(void[]) data); } This causes a range error at std.zip.d:1335The text was updated successfully, but these errors were encountered: