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

Matthias Andree matthias.andree at gmx.de
Mon Nov 27 10:31:38 CET 2006


David Relson <relson at users.sourceforge.net> 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



More information about the bogofilter-dev mailing list