Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 977
  • Last Modified:

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));




0
zizi21
Asked:
zizi21
1 Solution
 
sunnycoderCommented:
This is not an error ... It means that you have allocated 52428801 starting from address 0x1EC1C029
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now