[Development] QtCore missing check for memory allocation

Ulf Hermann ulf.hermann at theqtcompany.com
Wed Feb 25 17:34:56 CET 2015


> Also, you are not even guaranteed to get a null pointer/bad_alloc due to
> things like Linux overcommitting.

Overcommitting is not dangerous as it will reliably lead to the process getting killed if it goes wrong. If you can exploit that, we have a much worse problem, and not only in Qt.

Ulf










More information about the Development mailing list