summaryrefslogtreecommitdiff
path: root/lib/libz/gzio.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-06-14 17:14:13 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-06-14 17:14:13 +0000
commit41b4f8195b6d18133c2d9946ae52bc00544da947 (patch)
tree77559195a384f9c332c3207ee3556286d244509b /lib/libz/gzio.c
parentb009f912c072b3f8cb4d41ce35ae3d94c4449aed (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