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: NRich Salz <rsalz@openssl.org>
GH: #1132
Showing
想要评论请 注册 或 登录