Page MenuHomeFreeBSD

stand: fix buffer overflow in getrootmount()
ClosedPublic

Authored by rew on Feb 22 2023, 6:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 14 2025, 7:07 AM
Unknown Object (File)
Sep 9 2025, 10:19 AM
Unknown Object (File)
Sep 6 2025, 2:27 PM
Unknown Object (File)
Sep 4 2025, 7:20 PM
Unknown Object (File)
Aug 9 2025, 6:33 AM
Unknown Object (File)
Jul 28 2025, 1:39 PM
Unknown Object (File)
Jul 20 2025, 11:49 AM
Unknown Object (File)
Jul 10 2025, 7:04 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.