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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174231470500.980193.12972335219396659014.b4-ty@bootlin.com>
Date: Tue, 18 Mar 2025 17:18:25 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org, 
 Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Richard Weinberger <richard@....at>, 
 Vignesh Raghavendra <vigneshr@...com>
Subject: Re: [PATCH v2 1/1] mtd: mtdpart: Do not supply NULL to printf()

On Thu, 13 Mar 2025 11:15:53 +0200, Andy Shevchenko wrote:
> GCC compiler is not happy about NULL being supplied as printf() parameter:
> 
> drivers/mtd/mtdpart.c:693:34: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
> 
> Move the code after the parser test for NULL, and drop the ternary completely.
> The user can deduct this since when it's not NULL two messages will be printed.
> 
> [...]

Applied to mtd/next, thanks!

[1/1] mtd: mtdpart: Do not supply NULL to printf()
      commit: 6bc9f42739889eaaaa47b90f48e4ef8323efa3ea

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ