2fb5eb3b11
The generated regex code is limited in the range of jumps and counts, and this commit checks all cases which can overflow given the right kind of input regex, and returns an error in such a case. This change assumes that the results that overflow an int8_t do not overflow a platform int. Closes: #7078 Signed-off-by: Jeff Epler <jepler@gmail.com> # Conflicts: # extmod/re1.5/compilecode.c |
||
---|---|---|
.. | ||
charclass.c | ||
compilecode.c | ||
dumpcode.c | ||
re1.5.h | ||
recursiveloop.c |