Page MenuHome GnuPG

ocsp.c: null pointer passed as an argument to a 'nonnull' parameter
Closed, ResolvedPublic

Description

libtool: compile: /usr/local/bin/scan-build/ccc-analyzer -DHAVE_CONFIG_H -I.
-I.. -I../gl -I../gl -I/home/jwalton/gpg-analyze/include -g3 -O1 -Wall
-Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign
-fvisibility=hidden -MT ocsp.lo -MD -MP -MF .deps/ocsp.Tpo -c ocsp.c -o ocsp.o

ocsp.c:633:7: warning: Null pointer passed as an argument to a 'nonnull' parameter

memcpy (ri->serialno, der, derlen);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Details

Version
1.3.2

Event Timeline

JW set Version to 1.3.2.
JW added a subscriber: JW.
JW renamed this task from Null pointer passed as an argument to a 'nonnull' parameter to ocsp.c: null pointer passed as an argument to a 'nonnull' parameter.Mar 6 2015, 8:35 AM

No c+p of warnings please! Use gnupg-devel for such things.

werner claimed this task.
werner added a project: Mistaken.