lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240829154203.1b2d9bd1@kernel.org>
Date: Thu, 29 Aug 2024 15:42:03 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Michael Chan <michael.chan@...adcom.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
 pabeni@...hat.com, pavan.chebbi@...adcom.com,
 andrew.gospodarek@...adcom.com, horms@...nel.org, helgaas@...nel.org,
 przemyslaw.kitszel@...el.com, Vikas Gupta <vikas.gupta@...adcom.com>,
 Somnath Kotur <somnath.kotur@...adcom.com>
Subject: Re: [PATCH net-next v4 2/9] bnxt_en: add support for retrieving
 crash dump using ethtool

On Wed, 28 Aug 2024 11:32:28 -0700 Michael Chan wrote:
> +		if (data_copied + data_len > dump_len)
> +			data_len = dump_len - data_copied;

Let's see how clever the min() police is.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ