My working unpac space for OCaml projects in development
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

removed buffer overflows introduced in regexp optimizations

+3 -3
+2 -2
vendor/git/quickjs-c/libregexp.c
··· 2737 2737 if (idx2 >= 0) 2738 2738 capture[idx2] = sp[-1].ptr; 2739 2739 else 2740 - aux_stack[-idx2 + 1] = sp[-1].ptr; 2740 + aux_stack[-idx2 - 1] = sp[-1].ptr; 2741 2741 sp -= 2; 2742 2742 } 2743 2743 ··· 2794 2794 if (idx2 >= 0) 2795 2795 capture[idx2] = sp[-1].ptr; 2796 2796 else 2797 - aux_stack[-idx2 + 1] = sp[-1].ptr; 2797 + aux_stack[-idx2 - 1] = sp[-1].ptr; 2798 2798 sp -= 2; 2799 2799 } 2800 2800 pc = sp[-3].ptr;
+1 -1
vendor/git/quickjs-c/quickjs.c
··· 18022 18022 { 18023 18023 sp[-2] = JS_NewRegexp(ctx, sp[-2], sp[-1]); 18024 18024 sp--; 18025 - if (JS_IsException(sp[-2])) 18025 + if (JS_IsException(sp[-1])) 18026 18026 goto exception; 18027 18027 } 18028 18028 BREAK;