Re: [cvs] bogofilter configure.ac,1.424,1.425 NEWS,1.579,1.580

Matthias Andree <[email protected]> Mon, 27 Nov 2006 10:31:38 +0100
Newsgroups gmane.mail.bogofilter.devel
Message-ID <[email protected]>
David Relson <[email protected]> writes:

> --- configure.ac	24 Aug 2006 02:49:10 -0000	1.424
> +++ configure.ac	26 Nov 2006 23:56:17 -0000	1.425
> @@ -185,6 +185,18 @@
>  fi
>  AM_CONDITIONAL(USE_GCC4, test $gcc4 = yes)
>  
> +dnl Check whether flex needs patching
> +flex=no
> +if test -n "$LEX"; then
> +    case `$LEX --version | awk '{print $2}'` in
> +	2.5.4) flex=yes ;;
> +	2.5.31) flex=yes ;;
> +	2.5.33) flex=yes ;;
> +    esac
> +fi

This is backwards. We should enable the patch and only disable it on
known good versions - or perhaps try to exploit the overflow in
configure and trigger a crash, but that's going to be contrived...

-- 
Matthias Andree
_______________________________________________
Bogofilter-dev mailing list
[email protected]
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev