EfveZombie

Results 1 issues of EfveZombie

gcc-13 及以上版本会默认开启 -D_FORTIFY_SOURCE=3 (原配置为 -D_FORTIFY_SOURCE=2), 在开启 O1 以上编译优化的时候编译器可能对 memcpy 插入检查, 发生越界误判 (malloc_usable_size(ptr) 返回的大小要大于实际 malloc 大小) 崩溃堆栈: ![image](https://github.com/cloudwu/skynet/assets/34877029/c1935201-d5f9-4169-853e-d31ee27d0e80) 最小复现代码: ```C // test.c #include #include #include size_t size = 32; struct mem_cookie...