Commit 3d8a973
test(oom): crash explicitly when malloc returns NULL
Raise an exception (Windows) or write to an invalid address (Unix)
when malloc fails, matching how UE terminates on OOM.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b9a945c commit 3d8a973
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
391 | 397 | | |
392 | 398 | | |
393 | 399 | | |
| |||
0 commit comments