approval_X11R6.8.x requested: [Bug 2942] "xman" may crash when opening the print dialog : [Attachment 2360] Patch for 2005-04-09-trunk which uses |XtCalloc()| instead of |XtMalloc()| to clear the |ManpageGlobals| structure correctly

bugzilla-request-daemon at freedesktop.org bugzilla-request-daemon at freedesktop.org
Sat Apr 9 16:47:01 EST 2005


Roland Mainz <roland.mainz at nrubsig.org> has asked  for approval_X11R6.8.x:
Bug 2942: "xman" may crash when opening the print dialog
https://bugs.freedesktop.org/show_bug.cgi?id=2942

Attachment 2360: Patch for 2005-04-09-trunk which uses |XtCalloc()| instead of
|XtMalloc()| to clear the |ManpageGlobals| structure correctly
https://bugs.freedesktop.org/attachment.cgi?id=2360&action=edit

------- Additional Comments from Roland Mainz <roland.mainz at nrubsig.org>
Requesting approval for X11R6.8.x stable branch. The patches cures a quite
common crasher in "xman"'s print dialog which may occur on opening the dialog
due an uninitalised structure.
 
The fix is to clear the structure before using it (=allocating it using
|XtCalloc()| instead of |XtMalloc()|).


More information about the release-wranglers mailing list