Bug 238638 - mfi: Remove unnecessary pointer printing in mfi.c
Summary: mfi: Remove unnecessary pointer printing in mfi.c
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Keywords: easy, needs-qa, security
Depends on:
Reported: 2019-06-17 03:08 UTC by Fuqian
Modified: 2019-06-17 03:21 UTC (History)
2 users (show)

See Also:
koobs: mfc-stable12?
koobs: mfc-stable11?

The patch file (1.05 KB, patch)
2019-06-17 03:08 UTC, Fuqian
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fuqian 2019-06-17 03:08:46 UTC
Created attachment 205157 [details]
The patch file

In function mfi_timout, the address of cm will be printed out,
change it to print cm_index rather than the address of cm
to avoid kernel address leakage.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-17 03:21:41 UTC
CC original committer