summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-05-04 21:47:50 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-05-04 22:26:50 -0700
commitc90f74497dbcb96854346435349c6e2207b530c5 (patch)
tree44e4af7e0d37aef81a950671cc5f5292525cb048 /include/X11
parent4254bf0ee4c7a8f9d03841cf0d8e16cbb201dfbd (diff)
Make XRRGet*Property() always initialize returned values
Avoids memory corruption and other errors when callers access them without checking to see if the calls returned an error value. Callers are still required to check for errors, this just reduces the damage when they don't. (Same as reported against libX11 XGetWindowProperty by Ilja Van Sprundel) Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/X11')
0 files changed, 0 insertions, 0 deletions