Error :: Address Santiizer :: Heap buffer overflow message everytime

Hey guys,

I was trying to solve some of the questions related to matrices in C. The solution works on my Linux terminal. But shows "Heap buffer overflow" even if i allocate 1 byte of memory using "malloc".

Literally spent many days just to root cause what's happening with my code.

Did anyone face this issue or is this the common leetcode problem ?

Comments (1)