diff options
| author | shadchin <[email protected]> | 2024-05-28 07:38:50 +0300 |
|---|---|---|
| committer | shadchin <[email protected]> | 2024-05-28 07:50:41 +0300 |
| commit | d4d193c13a5c0c9911ae5cec21f49b777f4b2469 (patch) | |
| tree | 5b65db726e2c5e5b359632634e164e5607a493bd /contrib/tools/python3/Parser/tokenizer.c | |
| parent | 5f0b6de771b58fe0bce9845389b3766b10d882a8 (diff) | |
Revert commit rXXXXXX, Remove unnecessary patch
ee6f033bb92851c8403ba801453b3b964d12ec87
Diffstat (limited to 'contrib/tools/python3/Parser/tokenizer.c')
| -rw-r--r-- | contrib/tools/python3/Parser/tokenizer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/tools/python3/Parser/tokenizer.c b/contrib/tools/python3/Parser/tokenizer.c index 04ba04428fe..27d49c6f89e 100644 --- a/contrib/tools/python3/Parser/tokenizer.c +++ b/contrib/tools/python3/Parser/tokenizer.c @@ -823,6 +823,11 @@ static char * translate_newlines(const char *s, int exec_input, int preserve_crlf, struct tok_state *tok) { int skip_next_lf = 0; +#if defined(__has_feature) +# if __has_feature(memory_sanitizer) + __msan_unpoison_string(s); +# endif +#endif size_t needed_length = strlen(s) + 2, final_length; char *buf, *current; char c = '\0'; |
