zizi21
asked on
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));
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));
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.