diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-01-01 15:33:57 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-01-01 15:33:57 +0100 |
commit | ae291421984a266176df34f24d3a5e76d76ec7c8 (patch) | |
tree | 421e1e19c457408facf11a16b4d38e1c50c48f4e /docs/examples/opensslthreadlock.c | |
parent | cd045e24a08a5d5a0c936d4d9e27506b0f390da7 (diff) |
pubkey_show: allocate buffer to fit any-size result
The loop condition was wrong so keys larger than 340 bits would overflow
the local stack-based buffer.
Diffstat (limited to 'docs/examples/opensslthreadlock.c')
0 files changed, 0 insertions, 0 deletions