hmac256.c: use of memory after it is freed (redux)
Closed, ResolvedPublic

Description

/usr/local/bin/scan-build/ccc-analyzer -DHAVE_CONFIG_H -I. -I.. -DSTANDALONE
-g3 -O1 -fvisibility=hidden -Wall -MT hmac256-hmac256.o -MD -MP -MF
.deps/hmac256-hmac256.Tpo -c -o hmac256-hmac256.o `test -f 'hmac256.c' || echo
'./'`hmac256.c

hmac256.c:499:7: warning: Use of memory after it is freed

_gcry_hmac256_release (hd);
^~~~~~~~~~~~~~~~~~~~~~~~~~

hmac256.c:621:11: warning: Use of memory after it is freed

_gcry_hmac256_release (hmachd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.

Note: this is a different finding than the 1904 bug.

Details

Version
1.6.3
JW set Version to 1.6.3.Mar 6 2015, 9:09 AM
JW added projects: libgcrypt, Bug Report.
JW added a subscriber: JW.
werner added a subscriber: werner.Mar 10 2015, 9:18 AM

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

werner closed this task as Resolved.
werner claimed this task.