Re: [PATCH] libcrypto: initialize pointer

2015-05-29 Thread Joel Sing
On Friday 29 May 2015, Benjamin Baier wrote: > Hello tech@ > > buf.data is not initialized up front, which may lead to free(3)'ing a > garbage pointer. Found by llvm/scan-build. > Also free(3) handles NULL. No need to check. At first glance this is not actually a real problem - free_cont is initia

[PATCH] libcrypto: initialize pointer

2015-05-29 Thread Benjamin Baier
Hello tech@ buf.data is not initialized up front, which may lead to free(3)'ing a garbage pointer. Found by llvm/scan-build. Also free(3) handles NULL. No need to check. Index: tasn_dec.c === RCS file: /cvs/src/lib/libssl/src/crypto/