Address Coverity CID 161762: Out-of-bounds read (OVERRUN)
The message was: Overrunning array of 512 bytes at byte offset 512 by dereferencing pointer cp. Fix this by strengthening the early bounds check. Has the additional benefit of avoiding a (very unlikely) assert check, instead writing nothing.
Loading
Please register or sign in to comment