xmodmap: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Fri Aug 15 17:10:18 PDT 2014
handle.c | 33 +++++++++++++++++----------------
wq.h | 2 +-
2 files changed, 18 insertions(+), 17 deletions(-)
New commits:
commit d50db4361a57062f9c0c0a1c6c18d296e11dd4bf
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Aug 1 23:20:34 2014 -0700
Remove unneeded casts on malloc, realloc, and free calls
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 02f145f175894399fed33992e4e7e5a87d7e7a2a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Aug 1 23:15:29 2014 -0700
Avoid null pointer use if malloc() fails
Error: Null pointer dereference (CWE 476)
Read from null pointer str
at line 282 of handle.c in function 'parse_number'.
Function copy_to_scratch may return constant 'NULL' at line 98,
called at line 875 in function 'do_pointer'.
Constant 'NULL' passed into function parse_number, argument str,
from call at line 876.
Null pointer introduced at line 98 in function 'copy_to_scratch'.
[ This bug was found by the Parfait 1.4.0 bug checking tool.
http://labs.oracle.com/pls/apex/f?p=labs:49:::::P49_PROJECT_ID:13 ]
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list