Skip to content
Commit 369e9339 authored by Kurt Roeckx's avatar Kurt Roeckx
Browse files

Avoid calling memcpy with lenght of 0



We can call memcpy() with a pointer 1 past the last allocated byte and length
of 0 and you can argue that that's undefined behaviour.

Reported by tis-interpreter

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>

GH: #1132
parent 4379d5ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment