peview: Fix symbol tab crash
@@ -2299,8 +2299,11 @@ NTSTATUS PeDumpFileSymbols(
PPH_STRING dbghelpPath;
PPH_STRING symsrvPath;
- dbghelpPath = PvFindDbghelpPath(FALSE);
- symsrvPath = PvFindDbghelpPath(TRUE);
+ if (!(dbghelpPath = PvFindDbghelpPath(FALSE)))
+ return 1;
+ if (!(symsrvPath = PvFindDbghelpPath(TRUE)))
+ return 1;
+
dbghelpHandle = LoadLibrary(dbghelpPath->Buffer);
symsrvHandle = LoadLibrary(symsrvPath->Buffer);
