php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77065 PDO_INFORMIX gives a illegal ISAM Code when ISAM is 0
Submitted: 2018-10-26 07:56 UTC Modified: 2018-10-26 09:38 UTC
From: as at nsi dot de Assigned:
Status: Open Package: PDO_INFORMIX (PECL)
PHP Version: 7.0.32 OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: as at nsi dot de
New email:
PHP Version: OS:

 

 [2018-10-26 07:56 UTC] as at nsi dot de
Description:
------------
PDO_INFORMIX Version 1.3.3 File: informix_driver.c  Line 441

sprintf(suppliment, "%s (%s[%d] at %s:%d) ISAM: %d",

must be:

sprintf(suppliment, "%s (%s[%d] at %s:%d)",

Here is the case the ISAM-Error code is 0 and the param conn_res->error_data.isam_err is removed from the param list.
In the format string the placeholder must also removed!

Test script:
---------------
Its a simple error - Pleas look into the source code. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-10-26 09:38 UTC] cmb@php.net
-Package: PDO related +Package: PDO_INFORMIX
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 23:01:29 2024 UTC