https://git.reactos.org/?p=reactos.git;a=commitdiff;h=246e6a0de99e9d993fe9e4c0916d16af73b84ea1

commit 246e6a0de99e9d993fe9e4c0916d16af73b84ea1
Author:     Mark Jansen <[email protected]>
AuthorDate: Sun Sep 6 14:32:59 2020 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Sun Sep 6 14:32:59 2020 +0200

    [BROWSEUI] Stop the address edit box trying to parse a null pidl
---
 dll/win32/browseui/addresseditbox.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dll/win32/browseui/addresseditbox.cpp 
b/dll/win32/browseui/addresseditbox.cpp
index f3d7bc20008..69e6f25d50c 100644
--- a/dll/win32/browseui/addresseditbox.cpp
+++ b/dll/win32/browseui/addresseditbox.cpp
@@ -390,6 +390,12 @@ HRESULT STDMETHODCALLTYPE CAddressEditBox::Invoke(DISPID 
dispIdMember, REFIID ri
         if (FAILED_UNEXPECTEDLY(hr))
             return hr;
 
+        if (!absolutePIDL)
+        {
+            ERR("Got no PIDL, investigate me!\n");
+            return S_OK;
+        }
+
         /* Fill the combobox */
         PopulateComboBox(absolutePIDL);
 

Reply via email to