Bug #67299 [NEW]: unitinialized variable

From: Date: Sun, 18 May 2014 07:16:02 +0000
Subject: Bug #67299 [NEW]: unitinialized variable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185849@lists.php.net to get a copy of this message
From:             pajoye
Operating system: 
PHP version:      master-Git-2014-05-18 (Git)
Package:          MySQL related
Bug Type:         Bug
Bug description:unitinialized variable

Description:
------------
http://lxr.php.net/xref/PHP_5_6/ext/mysqlnd/mysqlnd_bt.c#128

dupl is used only locally in the IS_OBJECT clause. It is also not
initialized, meaning that the efree may be called randomly. I am not
sure what was the goal here, why I do not provide a patch yet :)


-- 
Edit bug report at https://bugs.php.net/bug.php?id=67299&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=67299&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=67299&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=67299&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=67299&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=67299&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=67299&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=67299&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=67299&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=67299&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=67299&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=67299&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=67299&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=67299&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67299&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=67299&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=67299&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=67299&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67299&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=67299&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=67299&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#185849) next »