Snort mailing list archives

recent PHP bug breaks ACID: was:(Re: ACID error when pulling up data)


From: chris koontz <ckoontz () yahoo com>
Date: Mon, 24 Sep 2001 12:42:39 -0700 (PDT)

While debugging the below problem I've discovered a
bug in php4.0.6.7rc2:
given the following code:
$string = "#This is an example string";
$tok1 = strtok($string,"#");

$tok1 should equal nothing.. however it equals
$string... (using other non # chars seem to work fine)

This breaks:
function GetQueryResultID found in:
acid_common.php

A bug report can be found:
http://bugs.php.net/bug.php?id=13419

so if you encounter the bug below.. you'll know one
possible reason :)
chris
--- chris koontz <ckoontz () yahoo com> wrote:
When I pull up data from an alert the following
things
appear on the screen(below the "first,next" buttons:
horiz line

(red)Alert DELETED

the "meta" table (red):
ID# -
filter: none
everything else is blank
no other tables are showing

(red)Database ERROR:You have an error in your SQL
syntax near 'AND ag_cid=' at line 1

---- excess data snipped------


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: