Page MenuHomeFreeBSD

stand: fix buffer overflow in getrootmount()
ClosedPublic

Authored by rew on Feb 22 2023, 6:55 PM.
Tags
None
Referenced Files
F164691362: D38734.diff
Mon, Aug 3, 5:07 AM
Unknown Object (File)
Wed, Jul 22, 12:38 AM
Unknown Object (File)
Jun 29 2026, 8:41 AM
Unknown Object (File)
Jun 25 2026, 4:31 PM
Unknown Object (File)
Jun 23 2026, 2:13 AM
Unknown Object (File)
Jun 16 2026, 12:58 PM
Unknown Object (File)
May 19 2026, 6:47 PM
Unknown Object (File)
May 19 2026, 6:47 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49968
Build 46860: arc lint + arc unit

Event Timeline

rew requested review of this revision.Feb 22 2023, 6:55 PM
allanjude added a subscriber: allanjude.

Reviewed by: allanjude

Got catch

This revision is now accepted and ready to land.Feb 22 2023, 11:26 PM

This looks good to me... Most of the time, it would be fine and there's no attack surface here since if you can control this you likely can control way more...

Good catch though.

This revision was automatically updated to reflect the committed changes.