diff options
author | bcook <> | 2016-06-30 12:19:51 +0000 |
---|---|---|
committer | bcook <> | 2016-06-30 12:19:51 +0000 |
commit | 5c582f335d85139b8f9481d5b921b9a433277f46 (patch) | |
tree | e6cdcf841a28cfc9acea4751b03bc92b4a4a0460 /src/lib/libcrypto/cversion.c | |
parent | fafc8dbf4d3bb9d3105c9575a1536623d00a3eca (diff) | |
download | openbsd-5c582f335d85139b8f9481d5b921b9a433277f46.tar.gz openbsd-5c582f335d85139b8f9481d5b921b9a433277f46.tar.bz2 openbsd-5c582f335d85139b8f9481d5b921b9a433277f46.zip |
Tighten behavior of _rs_allocate failure for portable arc4random implementations.
In the event of a failure in _rs_allocate for rsx, we still have a reference to
freed memory for rs on return. Not a huge deal since we subsequently abort in
_rs_init, but it looks strange on its own.
ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/cversion.c')
0 files changed, 0 insertions, 0 deletions