Skip to content
Snippets Groups Projects
Commit aba1f916 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

extmod/modure: Add stack overflow checking when executing a regex.

parent c9a0b2a8
No related branches found
No related tags found
No related merge requests found
......@@ -32,9 +32,12 @@
#include "py/runtime.h"
#include "py/binary.h"
#include "py/objstr.h"
#include "py/stackctrl.h"
#if MICROPY_PY_URE
#define re1_5_stack_chk() MP_STACK_CHECK()
#include "re1.5/re1.5.h"
#define FLAG_DEBUG 0x1000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment