Index: /trunk/src/VBox/Runtime/r3/path.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/path.cpp	(revision 31304)
+++ /trunk/src/VBox/Runtime/r3/path.cpp	(revision 31305)
@@ -191,4 +191,5 @@
 RTR3DECL(int) RTPathGetMode(const char *pszPath, PRTFMODE pfMode)
 {
+    AssertPtrReturn(pszPath, VERR_INVALID_POINTER);
     AssertPtrReturn(pfMode, VERR_INVALID_POINTER);
 
