Update WrongInDetectingAndHandlingMemoryAllocationErrors.ql

This commit is contained in:
ihsinme
2021-01-27 15:06:57 +03:00
committed by GitHub
parent 5d163b4c15
commit 16d058f498

View File

@@ -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