xwud: Changes to 'master'
Jeremy Huddleston
jeremyhu at kemper.freedesktop.org
Sun May 8 09:49:28 PDT 2011
configure.ac | 2 +-
xwud.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 05c9c12b6491708bc9ed9ea6b7a5321928d5ac93
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sun May 8 09:48:55 2011 -0700
Mark Error as _X_NORETURN
xwud.c:1031:6: warning: Array access (from variable 'pixels') results in a null pointer dereference
pixels[i] = ~0L;
^~~~~~
xwud.c:1036:22: warning: Array access (from variable 'pixels') results in a null pointer dereference
if ((color.pixel = pixels[pix]) == ~0L) {
^~~~~~
xwud.c:1101:6: warning: Array access (from variable 'rpixels') results in a null pointer dereference
rpixels[i] = ~0L;
^~~~~~~
xwud.c:1100:6: warning: Array access (from variable 'pixels') results in a null pointer dereference
pixels[i] = ~0L;
^~~~~~
Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
More information about the xorg-commit
mailing list