wez             Mon Oct 13 07:47:05 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/gmp    gmp.c 
  Log:
  Unintialized variable fix from Joe Orton.
  
  
Index: php-src/ext/gmp/gmp.c
diff -u php-src/ext/gmp/gmp.c:1.29.4.2 php-src/ext/gmp/gmp.c:1.29.4.3
--- php-src/ext/gmp/gmp.c:1.29.4.2      Thu Mar 13 11:18:10 2003
+++ php-src/ext/gmp/gmp.c       Mon Oct 13 07:47:05 2003
@@ -311,7 +311,7 @@
        mpz_t *gmpnum_a, *gmpnum_b, *gmpnum_result1, *gmpnum_result2;
        zval r;
        int use_ui=0;
-       unsigned long long_result;
+       unsigned long long_result = 0;
 
        FETCH_GMP_ZVAL(gmpnum_a, a_arg);
        if(gmp_ui_op && Z_TYPE_PP(b_arg) == IS_LONG && Z_LVAL_PP(b_arg) >= 0) {

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

Reply via email to