debian/changelog | 7 +++++++ src/XIQueryDevice.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-)
New commits: commit de7dacc6735273663e7fa82fb64ed8cd970f448f Author: Emilio Pozuelo Monfort <po...@debian.org> Date: Thu Dec 29 11:22:36 2016 +0100 Release to unstable diff --git a/debian/changelog b/debian/changelog index 2fab7c1..c977b42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,9 @@ -libxi (2:1.7.8-2) UNRELEASED; urgency=medium +libxi (2:1.7.8-2) unstable; urgency=medium * Cherry-pick upstream commit 557b6079, don't free an uninitialized buffer. Closes: #849026. - -- Emilio Pozuelo Monfort <po...@debian.org> Thu, 29 Dec 2016 11:02:43 +0100 + -- Emilio Pozuelo Monfort <po...@debian.org> Thu, 29 Dec 2016 11:22:29 +0100 libxi (2:1.7.8-1) unstable; urgency=medium commit d4d0b974e0337dbc953ad4b155f1bcb79746c07b Author: Emilio Pozuelo Monfort <po...@debian.org> Date: Thu Dec 29 11:05:33 2016 +0100 Document cherry-pick diff --git a/debian/changelog b/debian/changelog index e78ebc8..2fab7c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +libxi (2:1.7.8-2) UNRELEASED; urgency=medium + + * Cherry-pick upstream commit 557b6079, don't free an uninitialized + buffer. Closes: #849026. + + -- Emilio Pozuelo Monfort <po...@debian.org> Thu, 29 Dec 2016 11:02:43 +0100 + libxi (2:1.7.8-1) unstable; urgency=medium [ Andreas Boll ] commit 9eb0f5b37b0e19e3651b1c33cf7b702d74f56679 Author: Emilio Pozuelo Monfort <po...@debian.org> Date: Tue Dec 27 17:24:10 2016 +0100 Fix possible free of uninitialized pointer If the _XReply() call fails, we'll try to free an uninitialized pointer. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849026 Reported-by: Thomas Walker <thwalk...@gmail.com> Signed-off-by: Emilio Pozuelo Monfort <po...@debian.org> Reviewed-by: Julien Cristau <jcris...@debian.org> Tested-by: Thomas Walker <thwalk...@gmail.com> Signed-off-by: Julien Cristau <jcris...@debian.org> diff --git a/src/XIQueryDevice.c b/src/XIQueryDevice.c index a877d78..51e2d0d 100644 --- a/src/XIQueryDevice.c +++ b/src/XIQueryDevice.c @@ -46,7 +46,7 @@ XIQueryDevice(Display *dpy, int deviceid, int *ndevices_return) char *ptr; char *end; int i; - char *buf; + char *buf = NULL; XExtDisplayInfo *extinfo = XInput_find_display(dpy);