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
F102725198: D35868.diff
Sat, Nov 16, 9:54 AM
Unknown Object (File)
Thu, Oct 31, 6:03 PM
Unknown Object (File)
Sat, Oct 26, 12:45 AM
Unknown Object (File)
Sun, Oct 20, 9:44 PM
Unknown Object (File)
Oct 16 2024, 1:00 PM
Unknown Object (File)
Oct 16 2024, 11:57 AM
Unknown Object (File)
Oct 16 2024, 11:55 AM
Unknown Object (File)
Oct 2 2024, 6:38 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