Page MenuHomeFreeBSD

pf: Fix NULL deref in m_pullup failure case
ClosedPublic

Authored by igoro on Jul 2 2024, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 11:18 AM
Unknown Object (File)
Mon, Nov 17, 9:04 AM
Unknown Object (File)
Mon, Nov 17, 2:52 AM
Unknown Object (File)
Thu, Oct 30, 3:18 AM
Unknown Object (File)
Oct 24 2025, 10:22 PM
Unknown Object (File)
Oct 20 2025, 1:25 AM
Unknown Object (File)
Oct 13 2025, 10:35 PM
Unknown Object (File)
Oct 13 2025, 10:35 PM

Diff Detail

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

Event Timeline

igoro requested review of this revision.Jul 2 2024, 4:29 PM

After the main change landing brain starts thinking outside of the box. We could save the m_len before the m_pullup for the sake of a detailed error report, but it's not felt to be very important. Let me know if it is.

I don't think there is any value in saving and printing m_len.

This revision is now accepted and ready to land.Jul 2 2024, 4:38 PM
This revision was automatically updated to reflect the committed changes.