| 692 | } |
| 693 | |
| 694 | void CheckBufferOverrunImpl::bufferOverflowError(const Token *tok, const ValueFlow::Value *value, Certainty certainty) |
| 695 | { |
| 696 | reportError(getErrorPath(tok, value, "Buffer overrun"), Severity::error, "bufferAccessOutOfBounds", "Buffer is accessed out of bounds: " + (tok ? getRealBufferTok(tok)->expressionString() : "buf"), CWE_BUFFER_OVERRUN, certainty); |
| 697 | } |
| 698 | |
| 699 | //--------------------------------------------------------------------------- |
| 700 |
no test coverage detected