Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2004 22:20:27 GMT
From:      "David A. Koran" <dak@solo.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/71475: ACID (snort DB) detects versions incorrectly for PHP > v5.x
Message-ID:  <200409072220.i87MKRQq072389@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/71475; it has been noted by GNATS.

From: "David A. Koran" <dak@solo.net>
To: freebsd-gnats-submit@FreeBSD.org, dak@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) ) )))   )
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409072220.i87MKRQq072389>