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
F102678941: D37536.id113623.diff
Fri, Nov 15, 6:30 PM
Unknown Object (File)
Oct 4 2024, 1:27 AM
Unknown Object (File)
Sep 22 2024, 7:43 PM
Unknown Object (File)
Sep 22 2024, 7:51 AM
Unknown Object (File)
Sep 21 2024, 6:52 PM
Unknown Object (File)
Sep 17 2024, 4:18 PM
Unknown Object (File)
Sep 16 2024, 10:10 PM
Unknown Object (File)
Sep 14 2024, 11:25 AM
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 Not Applicable
Unit
Tests Not Applicable