Created attachment 13175 [details] The input javascript file that is causing the crash with low process memory setting using ulimit as described in desciption In regexp.c: Line 817: g.prog = malloc(sizeof (Reprog)); Line 833: g.prog->flags = cflags; There was no checking if g.proc is null Attached the input javascript used to trigger the crash with low process memory of 25mb using ulimit -Sv 25000
Hi, Any Update on this?
Should be fixed in commit fd003eceda531e13fbdd1aeb6e9c73156496e569 Author: Tor Andersson <tor@ccxvii.net> Date: Fri Dec 2 14:56:20 2016 -0500 Fix 697381: check allocation when compiling regular expressions. Also use allocator callback function.