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: <a1383f11-dd68-44bc-9ebb-d8d96cb5421a@linux.intel.com>
Date: Tue, 29 Oct 2024 12:40:28 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
 Joerg Roedel <jroedel@...e.de>, Tina Zhang <tina.zhang@...el.com>,
 iommu@...ts.linux.dev, linux-kernel@...r.kernel.org
Cc: baolu.lu@...ux.intel.com, David Woodhouse <dwmw2@...radead.org>,
 Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
 Robin Murphy <robin.murphy@....com>
Subject: Re: [PATCH v1 1/1] iommu/vt-d: Increase buffer size for device name

On 2024/10/14 18:45, Andy Shevchenko wrote:
> GCC is not happy with the current code, e.g.:
> 
> .../iommu/intel/dmar.c:1063:9: note: ‘sprintf’ output between 6 and 15 bytes into a destination of size 13
>   1063 |         sprintf(iommu->name, "dmar%d", iommu->seq_id);
> 
> When `make W=1` is supplied, this prevents kernel building. Fix it by
> increasing the buffer size for device name and use sizeoF() instead of
> hard coded constants.
> 
> Signed-off-by: Andy Shevchenko<andriy.shevchenko@...ux.intel.com>
> ---
>   drivers/iommu/intel/dmar.c  | 2 +-
>   drivers/iommu/intel/iommu.h | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)

Queued for v6.13. Thank you!

--
baolu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ