summaryrefslogtreecommitdiff
path: root/extmod/vfs_fat.c
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2023-11-08 13:43:28 +0100
committerDamien George <damien@micropython.org>2024-07-22 14:40:45 +1000
commit444d7bacbec51321cea955802b62dff9318dcbf6 (patch)
tree5d8b0205873fc9040ebfe71378b1f58775a49180 /extmod/vfs_fat.c
parent6db91dfefb1a7ba0026106d8f0c6589630e9a012 (diff)
extmod/moductypes: Validate the descriptor tuple.
Fixes various null dereferencing, out-of-bounds memory accesses and `assert(0)` failures in the case of an invalid `uctypes` descriptor. By design `uctypes` can crash because it accesses arbitrary memory, but at least describing the descriptor layout should be forced to be correct and not crash. Fixes issue #12702. Signed-off-by: stijn <stijn@ignitron.net>
Diffstat (limited to 'extmod/vfs_fat.c')
0 files changed, 0 insertions, 0 deletions