Heap corruption not detected by Valgrind or Electric Fence. Should I be suspicious? (C++)

前端 未结 3 1944
孤街浪徒
孤街浪徒 2021-01-02 23:08

I recently encountered my first battle (solved) with heap corruption. On my linux machine at home the culprit code exits without error using valgrind and e

3条回答
  •  忘掉有多难
    2021-01-02 23:55

    You don't understand what heap corruption is. In particular, memory leaks are not heap corruption.

    The memory leak reported by Parallel Studio also appears bogus, and more likely to be a bug in Parallel Studio than in your program.

提交回复
热议问题