[Xcb] [Bug 28526] sockname leaked in _xcb_get_auth_info

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 15 01:50:05 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28526

--- Comment #1 from Martin Capitanio <m at capitanio.org> 2010-08-15 01:50:05 PDT ---
It was introduced in
Get rid of PATH_MAX and MAXPATHLEN
a546d000 (Arnaud Fontaine 2010-04-30 14:47:16 +0200 259)     struct sockaddr
*sockname = malloc(socknamelen), *new_sock

==27313== 124 bytes in 1 blocks are definitely lost in loss record 1 of 1
==27313==    at 0x4C284A8: malloc (vg_replace_malloc.c:236)
==27313==    by 0x405659: get_peer_sock_name (xcb_auth.c:259)
==27313==    by 0x405723: _xcb_get_auth_info (xcb_auth.c:302)
==27313==    by 0x4050FD: xcb_connect_to_display_with_auth_info
(xcb_util.c:424)
==27313==    by 0x40185B: main (xcb-screent.c:43)
==27313== 
==27313== LEAK SUMMARY:
==27313==    definitely lost: 124 bytes in 1 blocks

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list