diff options
author | Kamil Dudka <kdudka@redhat.com> | 2015-02-24 15:10:15 +0100 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2015-02-25 10:23:06 +0100 |
commit | 7a1538d9cc0736e0a9ab13cf115db40a0bfbb152 (patch) | |
tree | f98de0cd2cc3b7fa67401429052ffbab77b2534f /packages/vms/vms_eco_level.h | |
parent | 0409a7d969831759c2afc016dbe02909c0ab6caf (diff) |
nss: improve error handling in Curl_nss_random()
The vtls layer now checks the return value, so it is no longer necessary
to abort if a random number cannot be provided by NSS. This also fixes
the following Coverity report:
Error: FORWARD_NULL (CWE-476):
lib/vtls/nss.c:1918: var_compare_op: Comparing "data" to null implies that "data" might be null.
lib/vtls/nss.c:1923: var_deref_model: Passing null pointer "data" to "Curl_failf", which dereferences it.
lib/sendf.c:154:3: deref_parm: Directly dereferencing parameter "data".
Diffstat (limited to 'packages/vms/vms_eco_level.h')
0 files changed, 0 insertions, 0 deletions