mariuz                                   Thu, 19 Jan 2012 22:25:54 +0000

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

Log:
Fix #60802 ibase_trans() gives segfault when passing params (The &argn passed 
to zend_parse_parameters shall be a pointer to an integer, not to an unsigned 
short.)

Bug: https://bugs.php.net/60802 (Assigned) ibase_trans() gives segfault when 
passing params
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/interbase/interbase.c

Modified: php/php-src/branches/PHP_5_3/ext/interbase/interbase.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/interbase/interbase.c      2012-01-19 
20:22:59 UTC (rev 322476)
+++ php/php-src/branches/PHP_5_3/ext/interbase/interbase.c      2012-01-19 
22:25:54 UTC (rev 322477)
@@ -1125,7 +1125,8 @@

 PHP_FUNCTION(ibase_trans)
 {
-       unsigned short i, argn, link_cnt = 0, tpb_len = 0;
+       unsigned short i, link_cnt = 0, tpb_len = 0;
+       int argn;
        char last_tpb[TPB_MAX_SIZE];
        ibase_db_link **ib_link = NULL;
        ibase_trans *ib_trans;

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

Reply via email to