Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / libx11
Commits: 76d1cc3c by Simon McVittie at 2022-04-03T14:24:13+01:00 Don't try to destroy NULL condition variables This avoids a segfault during error-unwinding if an invalid display name is passed to XOpenDisplay(). Fixes: 8a368d80 "Fix two memory leaks in _XFreeX11XCBStructure()" Resolves: #155 Signed-off-by: Simon McVittie <[email protected]> - - - - - 9ac6859c by Matt Turner at 2022-04-03T10:15:30-07:00 libX11 1.7.5 Signed-off-by: Matt Turner <[email protected]> - - - - - cec225d2 by Timo Aaltonen at 2022-04-03T22:28:54+03:00 Merge branch 'upstream-unstable' into debian-unstable - - - - - 47a511d9 by Timo Aaltonen at 2022-04-03T22:30:01+03:00 release to sid - - - - - 3 changed files: - configure.ac - debian/changelog - src/xcb_disp.c Changes: ===================================== configure.ac ===================================== @@ -1,7 +1,7 @@ # Initialize Autoconf AC_PREREQ([2.60]) -AC_INIT([libX11], [1.7.4], +AC_INIT([libX11], [1.7.5], [https://gitlab.freedesktop.org/xorg/lib/libx11/issues], [libX11]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS([src/config.h include/X11/XlibConf.h]) ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +libx11 (2:1.7.5-1) unstable; urgency=medium + + * New upstream release. (Closes: #1008890) + + -- Timo Aaltonen <[email protected]> Sun, 03 Apr 2022 22:29:52 +0300 + libx11 (2:1.7.4-1) unstable; urgency=medium * New upstream release. ===================================== src/xcb_disp.c ===================================== @@ -102,8 +102,10 @@ void _XFreeX11XCBStructure(Display *dpy) dpy->xcb->pending_requests = tmp->next; free(tmp); } - xcondition_clear(dpy->xcb->event_notify); - xcondition_clear(dpy->xcb->reply_notify); + if (dpy->xcb->event_notify) + xcondition_clear(dpy->xcb->event_notify); + if (dpy->xcb->reply_notify) + xcondition_clear(dpy->xcb->reply_notify); xcondition_free(dpy->xcb->event_notify); xcondition_free(dpy->xcb->reply_notify); Xfree(dpy->xcb); View it on GitLab: https://salsa.debian.org/xorg-team/lib/libx11/-/compare/c9342c6f5dca69ea19d6db9c955a9fd40bbc6398...47a511d9ba935f5655125b53b75e1f89be666ee4 -- View it on GitLab: https://salsa.debian.org/xorg-team/lib/libx11/-/compare/c9342c6f5dca69ea19d6db9c955a9fd40bbc6398...47a511d9ba935f5655125b53b75e1f89be666ee4 You're receiving this email because of your account on salsa.debian.org.

