PDO ignores all SSL parameters when used with mysql native driver

Bug #55870 PDO ignores all SSL parameters when used with mysql native driver
Submitted: 2011-10-08 00:36 UTC Modified: 2011-10-08 11:54 UTC
From: pawel at prochot dot co dot uk Assigned: pajoye (profile)
Status: Closed Package: PDO related
PHP Version: 5.3.8 OS: Independent
Private report: No CVE-ID: None

 [2011-10-08 00:36 UTC] pawel at prochot dot co dot uk

Description:
------------
PDO (MySQL) mysql_driver.c has two spelling errors causing SSL related 
configuration to be ignored. The spelling mistakes occur in conditional 
statements responsible for running code initialising and later processing of 
those parameters.

File: php-5.3.8/ext/pdo_mysql/driver.c
Line 628 contains "PDO_USE_MYSLQND" note mySLQnd instead of mySQLnd. The same 
happens in line 715

Affected versions at least 5.3.7 and 5.3.8.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2011-10-08 06:17 UTC] pajoye@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: pajoye