|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4887 memory corruption
Submitted: 2000-06-08 10:22 UTC Modified: 2000-08-18 13:26 UTC
From: websupport at silyn-tek dot de Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.0 Release OS: linux 2.2.14
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: websupport at silyn-tek dot de
New email:
PHP Version: OS:


 [2000-06-08 10:22 UTC] websupport at silyn-tek dot de
sorry for creating new bugthread, lost my userid, but please try this out

## here is a complete listing
## please create a database emerald
## go to an empty directory and start with
# rm *;while true ; do wget http://ts/test/test.php;done
## after getting about 1000 files do
# for i in *; do echo -n "$i:";diff -a test.php $i;
## why do so many files differ  and contain binary data ?????
function print_array($a)
{ while (list ($key, $val) = each ($a)) { echo "$key\t$val\n"; };};
function create_table()
        $r=mssql_query("drop table bugs");
        $r=mssql_query("drop table bugsb");
        $r=mssql_query("create table bugs (FIRSTNAME char(20),LASTNAME char(20),COMPANY char(20), COMMENTS char(20), CUSTOMERID integer)");
        $r=mssql_query("insert bugs values ('rainer','zufall','dusty','hallo',35800)");
        $r=mssql_query("create table bugsb (MAIDENNAME char(20),ACCOUNTTYPE char(20), CUSTOMERID integer)");
        $r=mssql_query("insert bugsb values ('geheim','surf20',35800)");
function fetch_cid($cid)
        $r=mssql_query("select $fields from bugs where CUSTOMERID=$cid");
        $r=mssql_query("select * from bugsb where CUSTOMERID=$cid");
        { $sa=mssql_fetch_array($r);
          mssql_free_result($r); };
        { echo "i never get here, but thats ok"; };
        return $res;
$dbi=mssql_connect ("mssql","silyndb","nosilyndb");
echo "\n";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-26 07:40 UTC]
I do not believe that this is a MSSQL bug...
 [2000-07-26 07:40 UTC]
Did you compile --with-sybase or --with-sybase-ct.
Also, what libs are you using?
IE, freetds, Sybase (what version? 11.0.3? 11.5.1? 11.9.2?)
 [2000-08-18 13:26 UTC]
Closed due to missing user feedback.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 12:01:28 2024 UTC