summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/stand
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-10-12 13:20:12 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-10-12 13:20:12 +0000
commit832a9c1f8620d389cbe8862c2dd189b3b4061542 (patch)
tree5b34afd999494f04b7bf713835e3739ac8b9f532 /sys/arch/amd64/stand
parent9bb324f9ade4d6e1d5a7f4b8b5be6a1357e0cc5c (diff)
fix infinite loops on regexps that match the empty word, which is
especially bad during runtime as we trap ^C. For instance ${A:C/-*//g}. Problem found by rpe@ Do the same as other modern tools: advance by one char and repeat, so that there's at most one empty word match at each position. okay millert@
Diffstat (limited to 'sys/arch/amd64/stand')
0 files changed, 0 insertions, 0 deletions