diff options
author | Anthony Ramine <[email protected]> | 2013-11-21 21:34:18 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-21 21:36:19 +0100 |
commit | 5fec8527e925f4a6da02d560a9afbbf39912747c (patch) | |
tree | 7f6bb31be89b5f549078bdfa35aa6a28d8077a7f /lib/cosFileTransfer | |
parent | c01df2215ac3ddef82116abac5eaf236d3788f21 (diff) | |
download | otp-5fec8527e925f4a6da02d560a9afbbf39912747c.tar.gz otp-5fec8527e925f4a6da02d560a9afbbf39912747c.tar.bz2 otp-5fec8527e925f4a6da02d560a9afbbf39912747c.zip |
Fix some uninitialized pointers in crypto
crypto.c:2748:9: warning: variable 'bn_prime' is used uninitialized whenever '||' condition is true [-Wsometimes-uninitialized]
if (!get_bn_from_bin(env, argv[0], &bn_verifier)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
crypto.c:2758:6: note: uninitialized use occurs here
if (bn_prime) BN_free(bn_prime);
^~~~~~~~
crypto.c:2748:9: note: remove the '||' if its condition is always false
if (!get_bn_from_bin(env, argv[0], &bn_verifier)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'lib/cosFileTransfer')
0 files changed, 0 insertions, 0 deletions