Bug in POD loader?

This topic contains 0 replies, has 1 voice, and was last updated by  basro 8 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #29887


    ReadAfterAlloc takes as second parameter dwNumberOfBytesToRead, however, it then uses SafeAlloc to allocate, which allocates sizeof(T) * dwNumberOfBytesToRead.

    Is this a bug? Is the length read from the file markers in bytes or size units of the type being read?

Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.