5491511010aa4d727633922ef9dbdde8bfe540fc
Root cause: Use-after-free bug due to stale pointers after realloc() - Socket array growth via realloc() moved memory to new location - Test stored old pointers that became invalid after memory move - Caused memory corruption and socket counting failures Solution: Modified test to avoid storing stale pointers - Store file descriptors instead of raw pointers - Use lookup approach to get current pointers during removal - Eliminates use-after-free issue entirely Results: All uasync tests now pass without memory leaks - test_u_async_performance: 25/25 sockets (was failing before) - No more socket counting mismatches or corruption - Clean memory stats and proper cleanup
…
…
…
…
The file is empty.
Languages
C
77.8%
C++
12.7%
Kotlin
5.3%
HTML
2.6%
Python
0.5%
Other
0.8%