This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 5b46ea1
committed
[[ CppTests ]] Do not process the tests for new() allocation on Mac
new does not return NULL if the memory asked for is too big to be allocated.
But it will crash when this memory block is accessed (with optimisation)1 parent 3861b55 commit 5b46ea1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments