Gcc custom operator new[] and delete[] is buggy - address sanitizer reprots buffer overflow

后端 未结 0 1970
栀梦
栀梦 2021-01-21 19:17

Basicly when custom operators new[] and delete[] are defined on gcc bad things happen and address sanitizer reports buffer overflow:

MCVE:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题