#32486 [Com]: odbc_fetch_into returns wrong data

From: Date: Wed, 08 Jun 2005 14:03:35 +0000
Subject: #32486 [Com]: odbc_fetch_into returns wrong data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80053@lists.php.net to get a copy of this message
 ID:               32486
 Comment by:       nick dot telford at gmail dot com
 Reported By:      tho at e-dict dot net
 Status:           Open
 Bug Type:         Adabas-D related
 Operating System: Linux
 PHP Version:      4.3.9
 New Comment:

Can you provide more information on how this is occuring? The script
that is causing it would be helpful, along with a guess at roughly how
often this problem occurs.

I have so far failed to replicate this bug on PHP4.3.11, i've written a
script to get some test data from a local ODBC db 100 times and detect
if the overflow is present. Running it now.


Previous Comments:
------------------------------------------------------------------------

[2005-06-06 18:12:27] tho at e-dict dot net

still happens with php4-STABLE-200505171238

------------------------------------------------------------------------

[2005-05-25 01:00:04] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2005-05-17 09:10:43] sniper@php.net

(or did you make a typo with the snapshot name?)


------------------------------------------------------------------------

[2005-05-17 09:10:18] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-05-11 16:30:24] tho at e-dict dot net

Tried php4-STABLE-200501211130 and still get wrong results. The \0
issue described before could not be reproduced since the field in the
second line was longer then in the first line. But I found out, that in
all cases the \0 issue occoured, there was a date field right before the
string field and this date field contained the data from the previous
line. e.g.
1992-09-09, tho@somedomain.net
1960-01-09, tho@e-dict.net
results in
1992-09-09, tho@somedomain.net
1992-09-09, tho@e-dict.net\0net

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/32486

-- 
Edit this bug report at http://bugs.php.net/?id=32486&edit=1


Thread (12 messages)

« previous php.bugs (#80053) next »