mirror of
https://github.com/micropython/micropython.git
synced 2026-01-12 06:57:14 +01:00
The value of 0 can't be used because otherwise mp_binary_get_size will let a null byte through as the type code (intepreted as byterray). This can lead to invalid type-specifier strings being let through without an error in the struct module, and even buffer overruns.
1.3 KiB
1.3 KiB