php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5479 emalloc() error
Submitted: 2000-07-09 06:18 UTC Modified: 2000-09-04 19:25 UTC
From: serge at globalbeach dot com Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.1pl2 OS: RH Linux 6.2
Private report: No CVE-ID: None
 [2000-07-09 06:18 UTC] serge at globalbeach dot com
Hello All,

When I prepare (odbc_prepare()) and execute (odbc_exec())a stored procedure and pass it a wrong type as an argument I
get an emalloc error. Obviously debugging in this scenario
is very difficult because no error message is returned.

When I use the same stored procedure and execute it with
odbc_do() I get a proper error message and no emalloc error!

Why doesn't the first method return an error message instead
of dieing with an emalloc?

Thanks, Serge

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 04:37 UTC] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??

--Jani
 [2000-09-04 19:25 UTC] sniper@php.net
No feedback. If problem still exists with using php4.0.2 or latest CVS or snapshot
from http://snaps.php.net/ reopen this bug report and include a backtrace of
the segfault. And the configure line used to configure php4.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 23:01:30 2024 UTC