php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1216 setoption function typo
Submitted: 1999-03-10 05:42 UTC Modified: 1999-03-10 08:22 UTC
From: Colin dot Plummer at easysoft dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 3.0.7 OS: slackware linux 2.0.36
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Colin dot Plummer at easysoft dot com
New email:
PHP Version: OS:

 

 [1999-03-10 05:42 UTC] Colin dot Plummer at easysoft dot com
functions/unified_odbc.c  line 2273

code fragment ---
if (getParameters(ht, 3, &arg1, &arg2, &arg3, &arg4) == FAILURE {
---

The 3 here should be 4.

As is, all calls to odbc_setoption cause segfaults.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-03-10 08:22 UTC] rasmus
Fixed - Thanks for catching this very silly error.
 [2011-05-16 17:38 UTC] dtajchreber@php.net
Automatic comment from SVN on behalf of dtajchreber
Revision: http://svn.php.net/viewvc/?view=revision&revision=311089
Log: Doc Bug #54750 - missing default value in openssl_x509_export_to_file() - added default value for notext in signature

http://lxr.php.net/opengrok/xref/PHP_5_3/ext/openssl/openssl.c#1216
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC