Ensure we don't write a 0 byte past end of the buffer in the error case.
authorbeck <beck@openbsd.org>
Wed, 14 Oct 2015 21:02:08 +0000 (21:02 +0000)
committerbeck <beck@openbsd.org>
Wed, 14 Oct 2015 21:02:08 +0000 (21:02 +0000)
commit8984dfbc963f52e9d49146ebd1d82a032b2b138d
tree3b16532ea593b439d603f5e5be916584ef8925fd
parent2a567ea3f66b963ebeeaa70d31c98b018428ca26
Ensure we don't write a 0 byte past end of the buffer in the error case.
ok bcook@ deraadt@
lib/libcrypto/objects/obj_dat.c
lib/libssl/src/crypto/objects/obj_dat.c