! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
g_free is potentially called on two strdup allocations
Status:
CLOSED: FIXED
Priority:
Very Low
Severity:
trivial

Comments

Description Steven Jackson 2013-05-21 18:56:46 CEST
Created attachment 5044 
g_strdup-instead-of-strdup.patch

I don't believe g_free() should be called on allocations which don't come from GLib, interface.c allocates two strings with strdup() and frees them with g_free(). The supplied patch replaces the strdup() calls with g_strdup().
Comment 1 juha editbugs 2013-11-04 14:41:00 CET
Fixed in 4.6.9.3.
Thanks for the patch!
Comment 2 juha editbugs 2013-11-04 14:42:21 CET
I mean 4.9.6.3 naturally
Comment 3 juha editbugs 2013-12-11 08:07:15 CET
Fixed in 4.10.0

Bug #10108

Reported by:
Steven Jackson
Reported on: 2013-05-21
Last modified on: 2013-12-11

People

CC List:
0 users

Version

Attachments

g_strdup-instead-of-strdup.patch (1.25 KB, patch)
2013-05-21 18:56 CEST , Steven Jackson
no flags

Additional information