Ryan C. Gordon <icculus@icculus.org> [Sat, 23 Jul 2005 22:01:03 +0000] rev 717
More minor OS/2 tweaks.
Ryan C. Gordon <icculus@icculus.org> [Sat, 23 Jul 2005 21:46:46 +0000] rev 716
From: Jorg Walter
To: icculus@clutteredmind.org
Subject: Bug in zip archiver
Date: Sat, 23 Jul 2005 22:19:09 +0200
Hi!
PhysFS has a bug in the ZIP archive module, function zip_find_start_of_dir.
Upon encountering a substring match, rc is set to a wrong value. The fix is
simple: swap both assignments like this:
[patch below --Ed.]
Some additional info for testing: Symptoms when you encounter this bug: A dir
is reported as empty although it has files in it; prerequisites or
encountering it: two dirs, one a substring of another, like "data/txt" and
"data/txt2", laid out in a way so that variable "middle" points to a file in
txt2 at some point during zip_find_start_of_dir
By the way, if you're interested in where PhysFS is used: I found this bug
while writing a patch for DOSBox (http://dosbox.sourceforge.net) to support
ZIP files. And I'd love to see that enhanced PHYSFS_mount syntax in an
official release soon *hint* ;);)
Ryan C. Gordon <icculus@icculus.org> [Sat, 23 Jul 2005 21:46:07 +0000] rev 715
From: Jorg Walter
To: icculus@clutteredmind.org
Subject: Bug in zip archiver
Date: Sat, 23 Jul 2005 22:19:09 +0200
Hi!
PhysFS has a bug in the ZIP archive module, function zip_find_start_of_dir.
Upon encountering a substring match, rc is set to a wrong value. The fix is
simple: swap both assignments like this:
[patch below --Ed.]
Some additional info for testing: Symptoms when you encounter this bug: A dir
is reported as empty although it has files in it; prerequisites or
encountering it: two dirs, one a substring of another, like "data/txt" and
"data/txt2", laid out in a way so that variable "middle" points to a file in
txt2 at some point during zip_find_start_of_dir
By the way, if you're interested in where PhysFS is used: I found this bug
while writing a patch for DOSBox (http://dosbox.sourceforge.net) to support
ZIP files. And I'd love to see that enhanced PHYSFS_mount syntax in an
official release soon *hint* ;);)
Ryan C. Gordon <icculus@icculus.org> [Thu, 21 Jul 2005 18:10:17 +0000] rev 714
Patched to compile on OS/2 again.
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Jul 2005 15:23:02 +0000] rev 713
Removed old dir.
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Jul 2005 15:22:08 +0000] rev 712
Moved to zlib122 and security fix discussed here:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Jul 2005 15:21:21 +0000] rev 711
Whoops, missed a zlib121 reference...
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Jul 2005 15:10:00 +0000] rev 710
Patched zlib security hole discussed here:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096
Ryan C. Gordon <icculus@icculus.org> [Wed, 13 Jul 2005 15:06:21 +0000] rev 709
Updated zlib to 1.2.2.
Ryan C. Gordon <icculus@icculus.org> [Mon, 13 Jun 2005 01:16:13 +0000] rev 708
Backport from devbranch: mingw support.