summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266
diff options
context:
space:
mode:
authorLéa Saviot <lea.saviot@numworks.com>2019-11-22 10:07:08 +0100
committerDamien George <damien.p.george@gmail.com>2019-11-26 10:51:47 +1100
commitbc129f1b84cc05ad92e6743b4f298e8aea5cbe50 (patch)
treed51b0771b654601895cfe27fbbf009d369e0c37b /docs/esp8266
parenta7bc4d1a1455a8a5cdea53d7a2caf03c9320f460 (diff)
downloadmicropython-bc129f1b84cc05ad92e6743b4f298e8aea5cbe50.tar.gz
micropython-bc129f1b84cc05ad92e6743b4f298e8aea5cbe50.zip
py/qstr: Raise exception in qstr_from_strn if str to intern is too long.
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.
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions