summaryrefslogtreecommitdiff
path: root/m4/po.m4
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2014-07-12 16:33:49 -0700
committerJim Meyering <meyering@fb.com>2014-07-12 16:44:12 -0700
commit1051177e3c202667889628fd73aee7c3b470f99d (patch)
tree2fbc0df7f06678e9559f9490358296fcd568bd0d /m4/po.m4
parent4044ca9a9c317335c0f730e9417e57343029d3c4 (diff)
downloadgnulib-1051177e3c202667889628fd73aee7c3b470f99d.tar.gz
regex: don't deref NULL upon heap allocation failure
* lib/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+++++++++++++++++++++ ) I discovered this while replying to a private report from Jens Schleusener about excessive memory consumption by grep when using a regular expression like the one above.
Diffstat (limited to 'm4/po.m4')
0 files changed, 0 insertions, 0 deletions