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
F163377214: D37536.id113812.diff
Wed, Jul 22, 4:07 PM
Unknown Object (File)
Sat, Jul 18, 2:14 AM
Unknown Object (File)
Tue, Jul 14, 1:14 PM
Unknown Object (File)
Mon, Jul 13, 5:19 PM
Unknown Object (File)
Fri, Jul 10, 11:54 PM
Unknown Object (File)
Fri, Jul 10, 4:25 PM
Unknown Object (File)
Wed, Jul 8, 8:52 PM
Unknown Object (File)
Sat, Jul 4, 3:11 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