Page MenuHomeFreeBSD

netmap tests: Reset ctx->nmctx to NULL in nmreq_parsing.
ClosedPublic

Authored by jhb on Nov 29 2022, 7:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 4, 12:58 AM
Unknown Object (File)
Sun, Oct 4, 12:30 AM
Unknown Object (File)
Sat, Oct 3, 11:25 PM
Unknown Object (File)
Sep 10 2026, 4:02 AM
Unknown Object (File)
Sep 7 2026, 11:27 AM
Unknown Object (File)
Sep 6 2026, 9:26 AM
Unknown Object (File)
Sep 5 2026, 2:07 PM
Unknown Object (File)
Sep 5 2026, 1:51 PM
Subscribers

Details

Summary

This avoids leaking a pointer to the on-stack test_nmctx which
triggers a -Wdangling-pointer warning from GCC.

Diff Detail

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