BUGREPORT: Tab to space expanding bug

VilleSkyttä scop at FreeBSD.org
Wed Dec 8 08:18:57 PST 2004


On Wed, 2004-12-08 at 09:35 +0100, Jozef Matula wrote:

> We use CVSweb version 3:3.0.2-2 under Debian Linux unstable distribution.
> 
> We found a bug in algorithm of expanding tabs into spaces in main CGI Perl 
> script:
>   - $1 was not in expansiong so, after multiple tab expansions text before 
> tabs was discarded
>   - expanding with less than $ts spaces was also incorrect, because $1 as (.*) 
> was matching longest string, including any previous NOT EXPANDED tabs.

This should be fixed in FreeBSD-CVSweb 3.0.4.



More information about the freebsd-cvsweb mailing list