Skip to content
Commit c9d48c39 authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

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.
parent 5e8d9310
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment