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, Nov 24, 8:33 AM
Unknown Object (File)
Mon, Nov 10, 8:38 AM
Unknown Object (File)
Nov 5 2025, 12:30 PM
Unknown Object (File)
Nov 5 2025, 12:28 PM
Unknown Object (File)
Nov 5 2025, 12:28 PM
Unknown Object (File)
Nov 5 2025, 12:26 PM
Unknown Object (File)
Oct 30 2025, 5:10 AM
Unknown Object (File)
Oct 27 2025, 4:39 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