Take BoringSSL 82aa28f: Make |BUF_memdup| look for zero length, not NULL.
This commit is contained in:
commit
8489707da7
@ -65,7 +65,7 @@
|
||||
void *BUF_memdup(const void *data, size_t dst_size) {
|
||||
void *ret;
|
||||
|
||||
if (data == NULL) {
|
||||
if (dst_size == 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user