Good static analysis tool. Found the following bug:
======================
/usr/bin/clang -Wstrict-prototypes -Wall -Werror -Wformat=2 -static -g
-pedantic -std=c99 -D _GNU_SOURCE -I../include -I. -c aemsg.c
aemsg.c:119:29: error: argument to 'sizeof' in 'memset' call is the same
expression as the
destination; did you mean to dereference it? [-Werror,-Wsizeof-pointer-memaccess]
memset(aeMsg, 0, sizeof(aeMsg));
~~~~~ ^~~~~
1 error generated.
make: *** [test] Error 1
============================
ravi.
Original issue reported on code.google.com by ravt...@gmail.com on 3 Dec 2012 at 3:54
Original issue reported on code.google.com by
ravt...@gmail.com
on 3 Dec 2012 at 3:54