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)
Wed, Sep 16, 6:13 AM
Unknown Object (File)
Fri, Sep 11, 3:08 AM
Unknown Object (File)
Wed, Sep 9, 3:27 AM
Unknown Object (File)
Mon, Sep 7, 1:04 AM
Unknown Object (File)
Sun, Sep 6, 3:45 PM
Unknown Object (File)
Sun, Sep 6, 1:38 PM
Unknown Object (File)
Sun, Sep 6, 8:07 AM
Unknown Object (File)
Fri, Sep 4, 11:28 PM
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