[Intel-wired-lan] [next PATCH S86 V3 1/8] i40e: don't leak memory addresses

Bowers, AndrewX andrewx.bowers at intel.com
Tue Feb 6 22:34:03 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alice Michael
> Sent: Monday, February 5, 2018 3:11 AM
> To: Michael, Alice <alice.michael at intel.com>; intel-wired-
> lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S86 V3 1/8] i40e: don't leak memory
> addresses
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> Could a Bad Person do Bad Things to a server if they found these addresses
> printed in the log? Who knows? But let's not take that risk.
> 
> Remove pointers from a bunch of printks. In some cases, I was able to adjust
> the mesasge to indicate whether or not the value was null. In others, I just
> removed the entire message as there was really no hope of saving it.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_debugfs.c | 40 ++++----------------------
>  drivers/net/ethernet/intel/i40e/i40e_main.c    | 13 ++++-----
>  2 files changed, 12 insertions(+), 41 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list