diff options
| author | stijn <stijn@ignitron.net> | 2023-11-08 13:43:28 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-07-22 14:40:45 +1000 |
| commit | 444d7bacbec51321cea955802b62dff9318dcbf6 (patch) | |
| tree | 5d8b0205873fc9040ebfe71378b1f58775a49180 /extmod/vfs_fat.c | |
| parent | 6db91dfefb1a7ba0026106d8f0c6589630e9a012 (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
