[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/37893: bad matching algorithm in glob.c
>Synopsis: bad matching algorithm in glob.c
>Arrival-Date: Mon Jan 28 22:40:00 +0000 2008
>Originator: Jan Kryl
netbsd 4.99.29 amd64
With last commit to lib/libc/gen/glob.c the matching algorithm was broken.
Because the magic characters (*, ?, ...) are not expanded if preceeding segment
of path is ./ or ../
This has serious consequences when installing a binary package, because
glob function is used there to copy meta-information files beginning
with + from current directory to package database. The following pattern
is used './+*'. No match is found and therefore the package database
ends up in inconsistent state.
compile a simple program, where is used './*' as a pattern to glob().
Revert the last commit to glob.c?
Main Index |
Thread Index |