|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8183 use of unitialized pointer in source code
Submitted: 2000-12-09 11:25 UTC Modified: 2000-12-09 15:07 UTC
From: dil at yandex-team dot ru Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0.3pl1 OS: any
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: dil at yandex-team dot ru
New email:
PHP Version: OS:


 [2000-12-09 11:25 UTC] dil at yandex-team dot ru
src file: ext/sybase/php_sybase_db.c line 257

*charset is declared, but not initalized.

In case sybase_conect() is called without the 4th argument (BTW dox describe only 3 args), charset gets random value and may cause incorrect database responses or memory protection fault (signal 11 on my FreeBSD).

Fix: replace declaration with


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-09 15:07 UTC]
This has been fixed in CVS, and will be in the 4.0.4 release.
Thank you for your report.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 22 21:01:24 2023 UTC