src/inc/apithreadstress.cpp: resolve possible null pointer dereference (dotnet/corecl...
authorIlya Shipitsin <chipitsine@gmail.com>
Tue, 24 Sep 2019 15:23:46 +0000 (15:23 +0000)
committerJan Kotas <jkotas@microsoft.com>
Tue, 24 Sep 2019 15:23:46 +0000 (08:23 -0700)
commitf0de8f527585483e7e532169aaee353418e762f7
tree3736bfe166d83674188da08bb16f11eaae9b614f
parentd9ba62e5d0c904305f4928e47f81fbb9ac928d8e
src/inc/apithreadstress.cpp: resolve possible null pointer dereference (dotnet/coreclr#26843)

found by cppcheck

[src/inc/apithreadstress.cpp:72] -> [src/inc/apithreadstress.cpp:70]: (warning) Either the condition 'p!=NULL' is redundant or there is pointer arithmetic with NULL pointer.

Commit migrated from https://github.com/dotnet/coreclr/commit/1e5d498902a070bb5060f8ca962ca488bb2b3be9
src/coreclr/src/inc/apithreadstress.cpp