misc/71475: ACID (snort DB) detects versions incorrectly for
PHP > v5.x
David A. Koran
dak at solo.net
Tue Sep 7 15:20:28 PDT 2004
The following reply was made to PR misc/71475; it has been noted by GNATS.
From: "David A. Koran" <dak at solo.net>
To: freebsd-gnats-submit at FreeBSD.org, dak at solo.net
Cc:
Subject: Re: misc/71475: ACID (snort DB) detects versions incorrectly for
PHP > v5.x
Date: Tue, 07 Sep 2004 18:17:54 -0400
This fixes the version check, but now apache seg faults on the rest of
the main acid code. Advisement... no PHP 5 and Acid
mail# diff acid_db_common.orig.php acid_db_common.php
67,68c67
< if ( !( ($version[0] >= 4) && ( ( ($version[1] == 0) && ($version[2]
>= 4) ) ||
< ($version[1] > 0) ) ) )
---
> if ( ! ((($version[0] >= 4) && ( ( ($version[1] == 0) && ($version[2]
>= 4) ) || ($version[1] > 0))) || (($version[0] >= 5) && ( (
($version[1] >= 0) && ($version[2] >= 0) ) ))) )
More information about the freebsd-bugs
mailing list