[SHELL32] Fix some NULL-pointers validation.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 8 Jun 2019 17:43:02 +0000 (19:43 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 8 Jun 2019 17:43:02 +0000 (19:43 +0200)
commitae2a85d003da762e4bcb232b15f1180333e5917a
treef97695f26399996795802e834d6ba56b66cd1129
parent47d76db311fb667b21f0c1ebff6d9b3c669056ad
[SHELL32] Fix some NULL-pointers validation.

- In the exported SHCreateDefaultContextMenu() and
  IDataObject_Constructor() functions (called amongst others by
  the exported CIDLData_CreateFromIDArray() function).

- In the exported SHCreateShellFolderView() function.

- In CDefView::GetItemObject(), where data was written to *ppvOut before
  ppvOut was being checked for NULL.
dll/win32/shell32/CDefView.cpp
dll/win32/shell32/CDefaultContextMenu.cpp
dll/win32/shell32/CIDLDataObj.cpp