Page MenuHomeFreeBSD

ngatm: Handle errors from uni_msg_extend()
ClosedPublic

Authored by markj on Jun 2 2021, 1:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 7, 1:55 PM
Unknown Object (File)
Feb 12 2024, 9:07 PM
Unknown Object (File)
Jan 14 2024, 4:56 AM
Unknown Object (File)
Dec 23 2023, 2:04 AM
Unknown Object (File)
Nov 22 2023, 1:41 AM
Unknown Object (File)
Nov 15 2023, 12:57 PM
Unknown Object (File)
Nov 12 2023, 8:34 AM
Unknown Object (File)
Nov 10 2023, 7:33 AM
Subscribers

Details

Summary

uni_msg_extend() may fail due to a memory allocation failure. In this
case, though, the message is freed, so callers shouldn't touch it.

PR: 255861
MFC after: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 39662
Build 36551: arc lint + arc unit

Event Timeline

markj requested review of this revision.Jun 2 2021, 1:55 PM

This looks good to me. Good catch.

harti

This revision was not accepted when it landed; it landed in state Needs Review.Jun 6 2021, 8:47 PM
This revision was automatically updated to reflect the committed changes.