summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/qabs.c
diff options
context:
space:
mode:
authorbcook <>2016-06-30 12:19:51 +0000
committerbcook <>2016-06-30 12:19:51 +0000
commitfeaba99148498e3901e21567eef6244222c71431 (patch)
treee6cdcf841a28cfc9acea4751b03bc92b4a4a0460 /src/lib/libc/stdlib/qabs.c
parent04659cfbf6434208cea373c44b6482783a1a7299 (diff)
downloadopenbsd-feaba99148498e3901e21567eef6244222c71431.tar.gz
openbsd-feaba99148498e3901e21567eef6244222c71431.tar.bz2
openbsd-feaba99148498e3901e21567eef6244222c71431.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/libc/stdlib/qabs.c')
0 files changed, 0 insertions, 0 deletions