forked from irungentoo/toxcore
-
Notifications
You must be signed in to change notification settings - Fork 302
Closed
Labels
P3Low priorityLow priority
Milestone
Description
Based on #956.
between those 2 lines m->friendlist may point to old already freed address
Lines 67 to 73 in 5b14542
| Friend *newfriendlist = (Friend *)realloc(m->friendlist, num * sizeof(Friend)); | |
| if (newfriendlist == nullptr) { | |
| return -1; | |
| } | |
| m->friendlist = newfriendlist; |
ToxAV has other threads, so this may be accessed while invalid.
Metadata
Metadata
Assignees
Labels
P3Low priorityLow priority