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 565018 - double free with custom XDMCP Willing script
double free with custom XDMCP Willing script
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-18 17:27 UTC by Willem Jan Palenstijn
Modified: 2009-02-17 19:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch removing double free (513 bytes, patch)
2008-12-18 17:30 UTC, Willem Jan Palenstijn
committed Details | Review

Description Willem Jan Palenstijn 2008-12-18 17:27:36 UTC
In gdm's daemon/gdm-xdmcp-display-factory.c in gdm_xdmcp_send_willing()
there seems to be a double g_free(last_status) when using a custom
Willing message for xdmcp.

The patch (against SVN trunk) at
http://www.math.leidenuniv.nl/~wpalenst/misc/gdm-svn.double_free.patch
removes the extra g_free() call.
Comment 1 Willem Jan Palenstijn 2008-12-18 17:30:34 UTC
Created attachment 124936 [details] [review]
patch removing double free
Comment 2 Brian Cameron 2009-02-17 19:35:47 UTC
Fixed in SVN head.