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, Mar 16, 1:09 AM
Unknown Object (File)
Sun, Mar 15, 8:11 PM
Unknown Object (File)
Sat, Mar 14, 4:14 PM
Unknown Object (File)
Wed, Mar 11, 8:34 PM
Unknown Object (File)
Feb 18 2026, 11:15 AM
Unknown Object (File)
Feb 14 2026, 12:00 PM
Unknown Object (File)
Feb 8 2026, 2:45 PM
Unknown Object (File)
Feb 7 2026, 9:29 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