Re: [PATCH:transset] Only use property pointer if XGetWindowProperty returns success

2015-01-05 Thread Hans de Goede
Hi, On 03-01-15 23:29, Alan Coopersmith wrote: In Xlib versions prior to 1.6, if XGetWindowProperty returns a failure, it didn't always set the property pointer to NULL, and could leave it uninitialized. Reported by Oracle Parfait 1.5.1: Error: Uninitialised memory (CWE 456) Possible

[PATCH:transset] Only use property pointer if XGetWindowProperty returns success

2015-01-03 Thread Alan Coopersmith
In Xlib versions prior to 1.6, if XGetWindowProperty returns a failure, it didn't always set the property pointer to NULL, and could leave it uninitialized. Reported by Oracle Parfait 1.5.1: Error: Uninitialised memory (CWE 456) Possible access to uninitialised memory 'data' at line