Page MenuHomeFreeBSD

etdump: exit on error if section header or entry offset is OOB
ClosedPublic

Authored by emaste on Jul 20 2022, 4:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 23, 3:51 PM
Unknown Object (File)
Sat, Sep 21, 7:52 AM
Unknown Object (File)
Thu, Sep 19, 4:52 PM
Unknown Object (File)
Thu, Sep 19, 12:37 AM
Unknown Object (File)
Wed, Sep 18, 6:11 PM
Unknown Object (File)
Tue, Sep 3, 6:22 PM
Unknown Object (File)
Aug 15 2024, 6:41 AM
Unknown Object (File)
Aug 15 2024, 6:41 AM
Subscribers
None

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
emaste added a reviewer: jrtc27.
usr.bin/etdump/etdump.c
201

Do we also need a bounds check here?

usr.bin/etdump/etdump.c
201

that entry[0] is not out of bounds?

markj added inline comments.
usr.bin/etdump/etdump.c
201

Sorry, not sure what I was thinking. The loop condition is enough.

This revision is now accepted and ready to land.Mar 22 2023, 1:02 PM