Page MenuHome GnuPG

ocsp.c: dereference of null pointer
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:1598:18: warning: Access to field 'cert' results in a dereference of a
null pointer (loaded from variable 'cl')

cl->cert = cert;
~~       ^

Details

Version
1.3.2

Event Timeline

JW added projects: libksba, Bug Report.
JW added a subscriber: JW.
JW renamed this task from Dereference of a null pointer to ocsp.c: dereference of null pointer.Mar 6 2015, 8:35 AM
werner claimed this task.
werner added a project: Mistaken.

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