diff options
| author | Angus Gratton <angus@redyak.com.au> | 2024-01-31 18:18:14 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-09-26 22:08:48 +1000 |
| commit | 4f6d4b2b498b0555c3b27eba2fa4e212468e1450 (patch) | |
| tree | 3d4c26c534fe0b999bc70675efcd2d2a5665a844 /py/opmethods.c | |
| parent | a2475ee9de1f16def61f4c3f3fdd0751f07c654e (diff) | |
extmod/vfs_blockdev: Check block device function positive results.
A positive result here can result in eventual memory corruption
as littlefs expects the result of a cache read/write function to be
0 or a negative integer for an error.
Closes #13046
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/opmethods.c')
0 files changed, 0 insertions, 0 deletions
