In Wind River VxWorks memory allocator has a possible overflow in calculating the memory block's size to be allocated by calloc(). As a result the actual memory allocated is smaller than the buffer size specified by the arguments leading to memory corruption.