When attempting to decompress a compressed ISO file the sysutils/ciso port attempts to read a file header directly into a structure that assumes "unsigned long" to mean "unsigned 32-bit integer", specifically into fields that are later used to allocate memory. On a 64-bit system this results in attempts to allocate incorrectly huge amounts of memory.
Fix: Explicitly declare structure members as 32-bit integers.
Patch attached with submission follows:
How-To-Repeat: Attempt to decompress a compressed ISO file on a 64-bit platform such as amd64.
Maintainer of sysutils/ciso,
Please note that PR ports/142711 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Feedback timeout 19 days.
pav 2010-02-07 15:35:58 UTC
FreeBSD ports repository
- Fix runtime on 64-bit platforms
Submitted by: Jonathan Jacobs <email@example.com>
Approved by: maintainer timeout (26 days)
Revision Changes Path
1.2 +2 -0 ports/sysutils/ciso/Makefile
1.1 +23 -0 ports/sysutils/ciso/files/patch-ciso.h (new)
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
Oh, I'm sorry.
I'm agree with patch submitted by Jonathan Jacobs.