mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Update WrongInDetectingAndHandlingMemoryAllocationErrors.ql
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* @name Сonfusion In Detecting And Handling Memory Allocation Errors
|
||||
* @description --::operator new(std::size_t) throws an exception on error, and ::operator new(std::size_t, const std::nothrow_t &) returns zero on error.
|
||||
* --the programmer can get confused when check the error that occurs when allocating memory incorrectly.
|
||||
* --Making a call of this type may result in a zero byte being written just outside the buffer.
|
||||
* @kind problem
|
||||
* @id cpp/detect-and-handle-memory-allocation-errors
|
||||
* @problem.severity warning
|
||||
|
||||
Reference in New Issue
Block a user