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] [day] [month] [year] [list]
Message-ID: <yq1wm6ywyav.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 19 Aug 2025 21:56:55 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Qianfeng Rong <rongqianfeng@...o.com>
Cc: bvanassche@....org, Brian King <brking@...ibm.com>,
        "James E.J.
 Bottomley" <James.Bottomley@...senPartnership.com>,
        "Martin K. Petersen"
 <martin.petersen@...cle.com>,
        linux-scsi@...r.kernel.org (open list:SCSI
 SUBSYSTEM),
        linux-kernel@...r.kernel.org (open list)
Subject: Re: [PATCH v3 0/2] scsi: Use vmalloc_array and vcalloc to simplify
 code


Qianfeng,

> Instead of using array_size, use a function that takes care of both
> the multiplication and the overflow checks.

Applied to 6.18/scsi-staging, thanks!

-- 
Martin K. Petersen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ