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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC