==5779== at 0x483AC94: __strlen_sse2 (vg_replace_strmem.c:463)
==5779== by 0x401F1F: findLocation (in /root/Projects/Project_101.1/build)
==5779== by 0x40235D: compression02 (in /root/Projects/Project_101.1/build)
==5779== by 0x40160F: compression (in /root/Projects/Project_101.1/build)
==5779== by 0x4013F8: main (in /root/Projects/Project_101.1/build)
==5779== Address 0x4a309c3 is 0 bytes after a block of size 3 alloc'd//error cause
==5779== at 0x4839D19: realloc (vg_replace_malloc.c:836)
==5779== by 0x401E1A: masterArray (in /root/Projects/Project_101.1/build)
==5779== by 0x4015CC: compression (in /root/Projects/Project_101.1/build)
==5779== by 0x4013F8: main (in /root/Projects/Project_101.1/build)
01 .
Error message explanation : the pointer tried to fetch the data from some arbitrary memory location or the memory region which was not allocated by the realloc() API.
Is the explanation correct?
02.
Error type : out-of-bound error (is it read-underflow?)
03.
==5779== Address 0x4a309c3 is 0 bytes after a block of size 3 alloc'd