[WIN32K]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 18 Jun 2013 22:14:50 +0000 (22:14 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 18 Jun 2013 22:14:50 +0000 (22:14 +0000)
commit895a9ab6793c77a2a49d2f7186eeaef1c43dd77f
treeb3e1a89af3ae758e0e233b8c97cd20f659a87152
parent99f4087daa593c9a144e5eae3539aad155027f61
[WIN32K]
Check for NULL pointer returned by PEN_AllocPenWithHandle before dereferencing the returned pointer (the allocation function can return NULL in low memory conditions, leading to kernel crashes).

svn path=/trunk/; revision=59257
reactos/win32ss/gdi/ntgdi/stockobj.c