cvs: php-src /ext/com_dotnet com_com.c
| From: | Wez Furlong | Date: | Mon, 06 Oct 2003 15:10:39 +0000 |
| Subject: | cvs: php-src /ext/com_dotnet com_com.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24070@lists.php.net to get a copy of this message | ||
wez Mon Oct 6 11:10:39 2003 EDT
Modified files:
/php-src/ext/com_dotnet com_com.c
Log:
potential fix for #25759, although it will need further review.
Index: php-src/ext/com_dotnet/com_com.c
diff -u php-src/ext/com_dotnet/com_com.c:1.2 php-src/ext/com_dotnet/com_com.c:1.3
--- php-src/ext/com_dotnet/com_com.c:1.2 Mon Aug 18 00:41:48 2003
+++ php-src/ext/com_dotnet/com_com.c Mon Oct 6 11:10:38 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_com.c,v 1.2 2003/08/18 04:41:48 iliaa Exp $ */
+/* $Id: com_com.c,v 1.3 2003/10/06 15:10:38 wez Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -118,7 +118,10 @@
IMoniker *pMoniker = NULL;
ULONG ulEaten;
- if (server_name == NULL) {
+ if (server_params != NULL) {
+ /* TODO: review this.
+ * The assumption seems to be that monikers cannot be invoked for remote servers.
+ * The BindCtx might allow this however */
res = MK_E_SYNTAX;
} else if (SUCCEEDED(res = CreateBindCtx(0, &pBindCtx)) &&
SUCCEEDED(res = MkParseDisplayName(pBindCtx, moniker, &ulEaten, &pMoniker))) {