diff options
author | tb <> | 2022-07-26 19:50:06 +0000 |
---|---|---|
committer | tb <> | 2022-07-26 19:50:06 +0000 |
commit | 452e0d9e8ea01c3483f30eff266286eb6a5a3c31 (patch) | |
tree | baf4feb67c41f926be93866eea17663749b733db /src/lib/libc/stdlib | |
parent | 7535f3659ad4907402c99ae736e3307129e9502e (diff) | |
download | openbsd-452e0d9e8ea01c3483f30eff266286eb6a5a3c31.tar.gz openbsd-452e0d9e8ea01c3483f30eff266286eb6a5a3c31.tar.bz2 openbsd-452e0d9e8ea01c3483f30eff266286eb6a5a3c31.zip |
Do not pass input length <= 0 to the cipher handlers
Input length < 0 is an error and input length == 0 can result in
strange effects in some ciphers, except in CCM mode, which is extra
special.
Based on OpenSSL 420cb707 by Matt Caswell and Richard Levitte
found by & ok jsing
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions