OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Otto Moerbeek (ottocvs.openbsd.org)
Date: Fri Apr 02 2004 - 12:34:33 CST


CVSROOT: /cvs
Module name: src
Changes by: ottocvs.openbsd.org 2004/04/02 11:34:33

Modified files:
        lib/libc/regex : engine.c

Log message:
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