diff options
author | 2004-04-02 18:34:33 +0000 | |
---|---|---|
committer | 2004-04-02 18:34:33 +0000 | |
commit | 2617cd22e38992f4cc44590298b0c107826d1059 (patch) | |
tree | fe34ee82ecd95750257b20c2265f9a2528f07d28 /usr.bin/grep/grep.c | |
parent | spelink (diff) | |
download | wireguard-openbsd-2617cd22e38992f4cc44590298b0c107826d1059.tar.xz wireguard-openbsd-2617cd22e38992f4cc44590298b0c107826d1059.zip |
Avoid unbounded recursion in some expressions involving back references.
For example:
echo "foo foo bar bar bar baz" | sed 's/\([^ ]*\)\( *\1\)*/\1/g'
Test case found by dhartmei@
ok millert@ dhartmei@ tedu@
Diffstat (limited to 'usr.bin/grep/grep.c')
0 files changed, 0 insertions, 0 deletions