|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-10-26 07:56 UTC] as at nsi dot de
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. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-10-26 09:38 UTC]
-Package: PDO related +Package: PDO_INFORMIX
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 12 21:01:30 2024 UTC