Jim Meyering 7ee03f0018 regex: don't deref NULL upon heap allocation failure
* posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
failure in one more place.
To trigger the segfault, configure grep -with-included-regex,
build it, and run these commands:
( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2014-07-13 21:25:22 -07:00
..
2012-09-28 10:15:05 -06:00
2014-01-01 22:02:55 +10:00
2013-06-06 02:15:33 +02:00
2012-05-10 15:57:27 -07:00