After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 353567 - crash in manpage parser
crash in manpage parser
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: Man Pages
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-30 16:43 UTC by Frederic Crozat
Modified: 2006-08-30 21:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
manpage causing crash (4.93 KB, text/plain)
2006-08-30 16:45 UTC, Frederic Crozat
  Details
Fix (996 bytes, patch)
2006-08-30 17:04 UTC, Don Scorgie
committed Details | Review

Description Frederic Crozat 2006-08-30 16:43:00 UTC
the attached manpage causes yelp to crash with the following stacktrace (beagle is not running on the system)


Comment 1 Frederic Crozat 2006-08-30 16:45:46 UTC
Created attachment 71910 [details]
manpage causing crash
Comment 2 Don Scorgie 2006-08-30 17:04:04 UTC
Created attachment 71912 [details] [review]
Fix

Problem is that the bzip stream is freed by us.  It appears the bzip library already frees the stream.  This would affect any document compressed as a bzip2 file (I tested with another man page and the double-free did take place).

I've asked for hard-code freeze break to apply the above patch before 2.16 is released.
Comment 3 Don Scorgie 2006-08-30 21:03:38 UTC
Patch has been committed with approval from Release Team.

Closing.