felipe                                   Wed, 03 Mar 2010 00:29:38 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=295764

Log:
- Possible fix for bug #50999

Bug: http://bugs.php.net/50999 (Open) unaligned memory access in Zend/zend_API.c
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/dba/dba.c
    U   php/php-src/trunk/ext/dba/dba.c

Modified: php/php-src/branches/PHP_5_3/ext/dba/dba.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/dba/dba.c  2010-03-03 00:15:34 UTC (rev 
295763)
+++ php/php-src/branches/PHP_5_3/ext/dba/dba.c  2010-03-03 00:29:38 UTC (rev 
295764)
@@ -250,7 +250,7 @@
        zval *key;                                                              
                                        \
        char *key_str, *key_free;                                               
                        \
        size_t key_len;                                                         
                                \
-       int skip = 0;                                                           
                                \
+       long skip = 0;                                                          
                                \
        switch(ac) {                                                            
                                \
        case 2:                                                                 
                                        \
                if (zend_parse_parameters(ac TSRMLS_CC, "zr", &key, &id) == 
FAILURE) { \

Modified: php/php-src/trunk/ext/dba/dba.c
===================================================================
--- php/php-src/trunk/ext/dba/dba.c     2010-03-03 00:15:34 UTC (rev 295763)
+++ php/php-src/trunk/ext/dba/dba.c     2010-03-03 00:29:38 UTC (rev 295764)
@@ -251,7 +251,7 @@
        zval *key;                                                              
                                        \
        char *key_str, *key_free;                                               
                        \
        size_t key_len;                                                         
                                \
-       int skip = 0;                                                           
                                \
+       long skip = 0;                                                          
                                \
        switch(ac) {                                                            
                                \
        case 2:                                                                 
                                        \
                if (zend_parse_parameters(ac TSRMLS_CC, "zr", &key, &id) == 
FAILURE) { \

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

Reply via email to