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
F170745954: D37536.id113812.diff
Sun, Sep 6, 9:26 AM
F170597784: D37536.diff
Sat, Sep 5, 2:07 PM
F170595319: D37536.id113623.diff
Sat, Sep 5, 1:51 PM
F170577385: D37536.id113623.diff
Sat, Sep 5, 11:56 AM
Unknown Object (File)
Sat, Sep 5, 7:14 AM
Unknown Object (File)
Sat, Sep 5, 5:47 AM
Unknown Object (File)
Fri, Sep 4, 11:56 PM
Unknown Object (File)
Wed, Sep 2, 9:17 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