]> git.eshelyaron.com Git - emacs.git/commit
Avoid possible NULL pointer dereference found by GCC 6.1.1
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 29 Jun 2016 04:46:59 +0000 (07:46 +0300)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 29 Jun 2016 04:46:59 +0000 (07:46 +0300)
commit4a2a1eba09e5bbc37b853733708feae17f1425f5
treee224c9d25d44cfeaae48e3b8aef67e6563c300db
parent1a5d0c15185986e645e8fb8080a2338d8f17d562
Avoid possible NULL pointer dereference found by GCC 6.1.1

* src/xfns.c (x_get_monitor_attributes_xrandr): Always check
the value returned by XRRGetOutputInfo.
src/xfns.c