Page MenuHomeFreeBSD

radlib: fix a memory leak
ClosedPublic

Authored by ngie on Jun 4 2024, 8:03 PM.
Tags
None
Referenced Files
F108579558: D45488.diff
Sun, Jan 26, 1:58 PM
Unknown Object (File)
Fri, Jan 10, 3:46 PM
Unknown Object (File)
Fri, Jan 10, 12:59 PM
Unknown Object (File)
Dec 18 2024, 7:21 AM
Unknown Object (File)
Nov 22 2024, 3:21 PM
Unknown Object (File)
Nov 21 2024, 11:31 PM
Unknown Object (File)
Nov 18 2024, 11:59 AM
Unknown Object (File)
Nov 17 2024, 4:09 PM
Subscribers

Details

Summary

Call HMAC_CTX_free if returning early from is_valid_request when
processing Message-Authenticator tags.

Reported by: Coverity

Diff Detail

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

Event Timeline

ngie requested review of this revision.Jun 4 2024, 8:03 PM
ngie added a reviewer: emaste.
erj added a subscriber: erj.

It looks like it matches the cleanup that happens in the other return paths to me

This revision is now accepted and ready to land.Jun 4 2024, 8:07 PM
markj added a subscriber: markj.

Please add Fixes: 8d5c7813061d ("libradius: Fix input validation bugs") to the commit log message.

Please add Fixes: 8d5c7813061d ("libradius: Fix input validation bugs") to the commit log message.

Done!

This revision was automatically updated to reflect the committed changes.