Summary: | bzip2 1.0.2 minor zlib compatibility layer bug (missing NULLptr check) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mihai Limbasan <mihailim> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to bzip2 to fix the issue. |
Description
Mihai Limbasan
2004-12-22 05:42:54 UTC
Created attachment 46625 [details, diff]
Patch to bzip2 to fix the issue.
Attached patch modifies BZ2_bzclose to check its argument before first using
it, not afterwards.
i noticed this while coding some zlib/bzip2 apps of mine but figured it was a feature ? :) did you make this patch yourself ? if so, have you sent it upstream ? Definitely a bug, not a feature. Yes and yes. The report email seems to only have been accepted by Mr. Seward's mail server (jseward [at] acm.org). The zlib compatibility layer author seems to have dropped off the map - both QWF00133 [at] niftyserve.or.jp and tsuneo-y [at] is.aist-nara.ac.jp bounce. awesome ... if you havent heard back from them in a few days i'll gladly merge this fix :) No reaction from Mr. Seward yet - I think you can merge this thing. It's a very simple and trivial patch anyway (I stumbled over it by accident while studying the sources). added to 1.0.2-r4 please keep us updated if you get word back from upstream :) |