]> granicus.if.org Git - openssl/commit
buf2hexstr: properly deal with empty string
authorKurt Roeckx <kurt@roeckx.be>
Sun, 19 Jun 2016 12:16:16 +0000 (14:16 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Tue, 21 Jun 2016 18:55:54 +0000 (20:55 +0200)
commit01238aec4071eabf072f4e98e3fb84cbab3c7107
treea09753990785e9f064b03d3b8181f6b7109ddcdc
parent28bd8e945ff0bf50183af2481cc36180fbccaedb
buf2hexstr: properly deal with empty string

It wrote before the start of the string

found by afl

Reviewed-by: Richard Levitte <levitte@openssl.org>
MR: #2994
crypto/o_str.c
doc/crypto/OPENSSL_malloc.pod