diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/dmx.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-04-06 Adam Jackson <ajax@freedesktop.org> + + * src/dmx.c: + Coverity #928: Don't dereference screen if it's null. + 2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org> * configure.ac: @@ -407,6 +407,9 @@ Bool DMXAddScreen(Display *dpy, const char *displayName, unsigned int mask, int length; int paddedLength; + if (!screen) + return False; + DMXCheckExtension(dpy, info, False); LockDisplay(dpy); |