gluke           Fri Jul 18 04:48:33 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/mnogosearch    php_mnogo.c 
  Log:
  - Coredump in Udm_Find was fixed.
  
  
Index: php-src/ext/mnogosearch/php_mnogo.c
diff -u php-src/ext/mnogosearch/php_mnogo.c:1.66.2.5 
php-src/ext/mnogosearch/php_mnogo.c:1.66.2.6
--- php-src/ext/mnogosearch/php_mnogo.c:1.66.2.5        Tue Jul  8 10:00:57 2003
+++ php-src/ext/mnogosearch/php_mnogo.c Fri Jul 18 04:48:33 2003
@@ -1,5 +1,5 @@
 /* $Source: /usr/repository/php-src/ext/mnogosearch/php_mnogo.c,v $ */
-/* $Id: php_mnogo.c,v 1.66.2.5 2003/07/08 14:00:57 gluke Exp $ */
+/* $Id: php_mnogo.c,v 1.66.2.6 2003/07/18 08:48:33 gluke Exp $ */
 
 /*
    +----------------------------------------------------------------------+
@@ -1895,6 +1895,7 @@
                                if (zend_get_parameters_ex(2, 
&yyagent,&yyquery)==FAILURE) {
                                        RETURN_FALSE;
                                }
+                               convert_to_string_ex(yyquery);
                        }
                        break;
                default:
@@ -1902,7 +1903,6 @@
                        break;
        }
        ZEND_FETCH_RESOURCE(Agent, UDM_AGENT *, yyagent, id, "mnoGoSearch-Agent", 
le_link);
-       convert_to_string_ex(yyquery);
        
 #if UDM_VERSION_ID < 30200
        if ((Res=UdmFind(Agent,UdmTolower(Z_STRVAL_PP(yyquery),Agent->charset)))) {



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to