diff options
author | guenther <> | 2016-10-02 21:05:44 +0000 |
---|---|---|
committer | guenther <> | 2016-10-02 21:05:44 +0000 |
commit | 8bdea4401a054f46313b366cd7691a0dd110c7da (patch) | |
tree | 88ebce21f44773a590a23994b4990290c8e2107e /src/lib/libc/stdlib/ldiv.c | |
parent | 32f9250f554f0962dd3dce5496156b8c315715ca (diff) | |
download | openbsd-8bdea4401a054f46313b366cd7691a0dd110c7da.tar.gz openbsd-8bdea4401a054f46313b366cd7691a0dd110c7da.tar.bz2 openbsd-8bdea4401a054f46313b366cd7691a0dd110c7da.zip |
Detect zero-length encrypted session data early, instead of when malloc(0)
fails or the HMAC check fails.
Noted independently by jsing@ and Kurt Cancemi (kurt (at) x64architecture.com)
ok bcook@
Diffstat (limited to 'src/lib/libc/stdlib/ldiv.c')
0 files changed, 0 insertions, 0 deletions