Update WrongInDetectingAndHandlingMemoryAllocationErrors.ql

This commit is contained in:
ihsinme
2021-02-04 15:47:16 +03:00
committed by GitHub
parent a43167faf7
commit 43045c1f03

View File

@@ -1,5 +1,5 @@
/**
* @name onfusion In Detecting And Handling Memory Allocation Errors
* @name Detect And Handle 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.
* @kind problem