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: <YvhC5Orb+JeZFDEO@shikoro>
Date:   Sun, 14 Aug 2022 02:33:40 +0200
From:   Wolfram Sang <wsa@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Julia Lawall <julia.lawall@...ia.fr>, linux-i2c@...r.kernel.org,
        linux-kernel@...r.kernel.org, cocci@...teme.lip6.fr
Subject: Re: [PULL REQUEST] i2c-for-5.20-part2


>  (b) auto-convert (with a coccinelle script) all the 'strlcpy()' users
> that don't care about the return value, and leave a few broken users
> of strlcpy around
> 
> I think (b) is the simpler thing, but I have no idea how to write a
> coccinelle patch that basically does "if return value of strlcpy is
> not used, convert the strlcpy to a strscpy".

That shouldn't be hard. I'll give it a try tomorrow.


Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ