svn: /php/php-src/ branches/PHP_5_3/ext/dba/dba.c trunk/ext/dba/dba.c
| From: | Felipe Pena | Date: | Wed, 03 Mar 2010 00:29:38 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/dba/dba.c trunk/ext/dba/dba.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61950@lists.php.net to get a copy of this message | ||
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) { \