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))) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php