This commit is contained in:
Josef Řídký 2021-01-28 14:23:51 +01:00
parent 47adcde62f
commit 0dba34c092

View File

@ -32,7 +32,7 @@ diff -urNp a/snmplib/snmp_openssl.c b/snmplib/snmp_openssl.c
- "not enough space or error in allocation for extenstion\n"); - "not enough space or error in allocation for extenstion\n");
- BIO_vfree(bio); - BIO_vfree(bio);
- return NULL; - return NULL;
+ snmp_log(LOG_ERR, "error in allocation for extenstion\n"); + snmp_log(LOG_ERR, "error in allocation for extension\n");
+ goto out; + goto out;
} }
memcpy(buf_ptr, data, space); memcpy(buf_ptr, data, space);