(no title)
david-gpu | 9 days ago
In other words, the first time you access a "freshly allocated" non-null pointer you may get a page fault due to insufficient physical memory.
david-gpu | 9 days ago
In other words, the first time you access a "freshly allocated" non-null pointer you may get a page fault due to insufficient physical memory.
3836293648|9 days ago
david-gpu|8 days ago
Thus, for a typical situation it is reasonable to log the error and bail out, rather than adding extra custom error handling around every single memory allocation, which ends up being code that is never tested.