mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02:00
The string length being longer than the allowed qstr length can happen in many locations, for example in the parser with very long variable names. Without an explicit check that the length is within range (as done in this patch) the code would exhibit crashes and strange behaviour with truncated strings.