diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-06-14 17:14:13 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-06-14 17:14:13 +0000 |
commit | 41b4f8195b6d18133c2d9946ae52bc00544da947 (patch) | |
tree | 77559195a384f9c332c3207ee3556286d244509b /lib/libz/gzio.c | |
parent | b009f912c072b3f8cb4d41ce35ae3d94c4449aed (diff) |
Fix a potential leak/incorrect return value in DSA signature generation.
In the very unlikely case where we have to repeat the signature generation,
the DSA_SIG return value has already been allocated. This will either
result in a leak when we allocate again on the next iteration, or it
will give a false success (with missing signature values) if any error
occurs on the next iteration.
ok tb@
Diffstat (limited to 'lib/libz/gzio.c')
0 files changed, 0 insertions, 0 deletions