mpicoder.c: null pointer dereference
Closed, ResolvedPublic

Description

libtool: compile: /usr/local/bin/scan-build/ccc-analyzer -DHAVE_CONFIG_H -I.
-I.. -I../src -I../src -I/usr/local/include -g3 -O1 -fvisibility=hidden -Wall
-MT mpicoder.lo -MD -MP -MF .deps/mpicoder.Tpo -c mpicoder.c -o mpicoder.o

mpicoder.c:44:11: warning: Array access (from variable 'buffer') results in a
null pointer dereference

nbits = buffer[0] << 8 | buffer[1];
        ^~~~~~~~~

mpicoder.c:97:8: warning: Dereference of null pointer (loaded from variable 'str')

if ( *str == '-' )
     ^~~~

Details

Version
1.6.3
JW set Version to 1.6.3.
JW added a subscriber: JW.
werner closed this task as Resolved.
werner claimed this task.

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