Skip to content

Commit

Permalink
fix(xsre): no ASAN on regex stack check
Browse files Browse the repository at this point in the history
  • Loading branch information
raphdev authored and mkellner committed Mar 13, 2024
1 parent 6df8139 commit 5373fcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xs/sources/xsre.c
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,9 @@ void fxWordContinueCode(txPatternParser* parser, void* it, txInteger direction,
*buffer++ = sequel;
}


#if defined(__clang__) || defined (__GNUC__)
__attribute__((no_sanitize_address))
#endif
void fxPatternParserCheckStack(txPatternParser* parser)
{
char x;
Expand Down

0 comments on commit 5373fcc

Please sign in to comment.