Summary: Implementation in accept4 is special, the requested newsock is saved as filep->priv. This will cause sock_file_close to use fs_heap_free filep->priv during close. When fs_heap is configured, the released memory will not be on fs_heap, causing a crash. Signed-off-by: chenrun1 <chenrun1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| accept.c | ||
| CMakeLists.txt | ||
| Make.defs | ||
| socket.c | ||