diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-03-09 11:04:37 -0800 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-12 09:34:38 +0200 |
commit | e03f3922a3d97174916273e369b2e9a90f53a05a (patch) | |
tree | 50f82657cb07b610548118301f2207e866c482b8 /nx-X11/extras/Mesa/include/GL/glext.h | |
parent | b20710586d97c69c47aa657c29c8df661f6fe417 (diff) | |
download | nx-libs-e03f3922a3d97174916273e369b2e9a90f53a05a.tar.gz nx-libs-e03f3922a3d97174916273e369b2e9a90f53a05a.tar.bz2 nx-libs-e03f3922a3d97174916273e369b2e9a90f53a05a.zip |
Make XGetWindowProperty() always initialize returned values
Avoids memory corruption and other errors when callers access them
without checking to see if XGetWindowProperty() returned an error value.
Callers are still required to check for errors, this just reduces the
damage when they don't.
Reported-by: Ilja Van Sprundel <ivansprundel@ioactive.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Signed-off-by: Julien Cristau <jcristau@debian.org>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/extras/Mesa/include/GL/glext.h')
0 files changed, 0 insertions, 0 deletions