3600964 leak

This commit is contained in:
Ales Ledvinka 2013-01-16 12:12:21 +00:00
parent 9a8a8b7dad
commit 3f9b728e57

View File

@ -719,6 +719,8 @@ int lanplus_encrypt_payload(uint8_t crypt_alg,
if (lanplus_rand(output, IPMI_CRYPT_AES_CBC_128_BLOCK_SIZE)) if (lanplus_rand(output, IPMI_CRYPT_AES_CBC_128_BLOCK_SIZE))
{ {
lprintf(LOG_ERR, "lanplus_encrypt_payload: Error generating IV"); lprintf(LOG_ERR, "lanplus_encrypt_payload: Error generating IV");
if (padded_input != NULL)
free(padded_input);
return 1; return 1;
} }