• C

urgent: block is 0 bytes after 52428801 alloc'd

hi,

i am getting this error with valgrind:Address 0x1EC1C029 is 0 bytes after a block of size 52428801 alloc'd

the way i allocate memory for a buffer that is being read from file like this:

 buffer=calloc(len , sizeof(char));




zizi21Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sunnycoderConnect With a Mentor Commented:
This is not an error ... It means that you have allocated 52428801 starting from address 0x1EC1C029
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.