-
Notifications
You must be signed in to change notification settings - Fork 459
Open
Description
If len <= len1, buf1 remains unallocated and gets passed into memcpy:
Lines 369 to 376 in 321dd78
| if (len > len1) { | |
| if (buf1) | |
| free(buf1); | |
| buf1 = new_array(char, len+4); | |
| len1 = len; | |
| } | |
| memcpy(buf1, buf, len); |
Metadata
Metadata
Assignees
Labels
No labels