Comment by vgel

4 years ago

Yeah I think in a practical sense you're right, since AFAIK using mode 2 is fairly rare because most software assumes overcommit, and even if a program is written with an understanding that malloc can return NULL, its in the sense of

    if (!(ptr = malloc(...))) { exit(1); }