[PATCH libxi] Fix possible free of uninitialized pointer

Julien Cristau jcristau at debian.org
Thu Dec 29 09:46:01 UTC 2016


On Tue, Dec 27, 2016 at 17:24:10 +0100, Emilio Pozuelo Monfort wrote:

> 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 <thwalker3 at gmail.com>
> Signed-off-by: Emilio Pozuelo Monfort <pochu at debian.org>
> Reviewed-by: Julien Cristau <jcristau at debian.org>
> Tested-by: Thomas Walker <thwalker3 at gmail.com>
> ---
>  src/XIQueryDevice.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
remote: Updating patchwork state for
https://patchwork.freedesktop.org/project/Xorg/list/
remote: I: patch #129240 updated using rev
557b60798a9da49386f1034b133838332735de22.
remote: I: 1 patch(es) updated to state Accepted.
To git.freedesktop.org:/git/xorg/lib/libXi
   4c5c8d6..557b607  master -> master

Cheers,
Julien


More information about the xorg-devel mailing list