diff options
author | Yonatan Goldschmidt <yon.goldschmidt@gmail.com> | 2019-02-10 00:36:08 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-12 15:29:11 +1100 |
commit | 66f0afc91d22bb414d8247b795ce37743bd3f39d (patch) | |
tree | 3b593f561d5022e252b4210e7d75338bbc98ded8 /py/objmodule.c | |
parent | 812969d615e130bef7e525553dbb7b01c27191ea (diff) |
unix/modmachine: Handle repeated /dev/mem open errors.
If opening of /dev/mem has failed an `OSError` is appropriately raised, but
the next time `mem8/16/32` is accessed the invalid file descriptor is used
and the program gets a SIGSEGV.
Diffstat (limited to 'py/objmodule.c')
0 files changed, 0 insertions, 0 deletions