mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10: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.
2.2 KiB
2.2 KiB