[Uim-bugs] [Bug 11406] New: Incorrect use of free() and realloc()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 28 12:50:43 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11406

           Summary: Incorrect use of free() and realloc()
           Product: UIM
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: bridge: GTK+
        AssignedTo: uim-bugs at freedesktop.org
        ReportedBy: christianbiere at gmx.de


In gtk/compose.c and gtk/gtk-im-uim.c memory allocated through GLib is passed
to free() and realloc(). This is incorrect as g_realloc() and g_free() must be
used instead. Often g_realloc() and g_free() are mapped to free() and realloc()
which hides this bug. Otherwise it causes crashes or memory corruption.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the uim-bugs mailing list