diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-12-31 00:49:34 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-12-31 00:49:34 -0800 |
commit | 032fc6a734516189e11b43e0b4680d15b62c5e66 (patch) | |
tree | ed3f868d62dac85771ceef16696f5910f7152ca1 /configure.ac | |
parent | 76f6ad6e96b1ce62a32767bc0478a17b8b9204d7 (diff) |
Only use results from GetWindowProperty if it returned success
Since Xlib prior to 1.6 didn't always clear values on failure, don't
assume they're safe to use unless we succeeded.
Reported by Oracle Parfait 1.5.1:
Error: Uninitialised memory (CWE 456)
Possible access to uninitialised memory '&nPixels'
at line 963 of src/parse.c in function 'put_pixel_on_root'.
&nPixels allocated at line 953.
Possible access to uninitialised memory '&retProp'
at line 962 of src/parse.c in function 'put_pixel_on_root'.
&retProp allocated at line 954.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions