summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/buffer/buffer.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-05-01 20:53:58 +0000
committerschwarze <schwarze@openbsd.org>2017-05-01 20:53:58 +0000
commiteb274914ae41075d7e8ac068dbde0e46a1d2fcc4 (patch)
tree2ccb9dd8f9d39763760d589f1f2374bb57d2a86f /lib/libcrypto/buffer/buffer.c
parentQuiet an "implicit conversion from 'int' to 'char' changes value" (diff)
downloadwireguard-openbsd-eb274914ae41075d7e8ac068dbde0e46a1d2fcc4.tar.xz
wireguard-openbsd-eb274914ae41075d7e8ac068dbde0e46a1d2fcc4.zip
When trying to expand some columns in a table where the sum of the
widths of the remaining columns is already wider than the line length, underflowing size_t and dying from ENOMEM is the wrong plan. Instead, simply refrain from expanding anything in such a situation, avoiding a crash that tb@ found with afl.
Diffstat (limited to 'lib/libcrypto/buffer/buffer.c')
0 files changed, 0 insertions, 0 deletions