mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: Nathan Chancellor <nathan@kernel.org>
Cc: Kees Cook <kees@kernel.org>, Andy Shevchenko <andy@kernel.org>,
	Nick Desaulniers <nick.desaulniers+lkml@gmail.com>,
	Bill Wendling <morbo@google.com>,
	Justin Stitt <justinstitt@google.com>,
	linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org,
	llvm@lists.linux.dev, stable@vger.kernel.org
Subject: Re: [PATCH v3 0/2] Add wcslen()
Date: Thu,  3 Apr 2025 10:18:17 -0700	[thread overview]
Message-ID: <174370069511.3176651.13164537009477685490.b4-ty@kernel.org> (raw)
In-Reply-To: <20250328-string-add-wcslen-for-llvm-opt-v3-0-a180b4c0c1c4@kernel.org>

On Fri, 28 Mar 2025 12:26:30 -0700, Nathan Chancellor wrote:
> A recent LLVM change [1] introduces a call to wcslen() in
> fs/smb/client/smb2pdu.c through UniStrcat() via
> alloc_path_with_tree_prefix(). Similar to the bcmp() and stpcpy()
> additions that happened in 5f074f3e192f and 1e1b6d63d634, add wcslen()
> to fix the linkage failure.
> 
> [1]: https://github.com/llvm/llvm-project/commit/9694844d7e36fd5e01011ab56b64f27b867aa72d
> 
> [...]

Applied to for-next/hardening, thanks!

[1/2] include: Move typedefs in nls.h to their own header
      https://git.kernel.org/kees/c/21592017d384
[2/2] lib/string.c: Add wcslen()
      https://git.kernel.org/kees/c/61df817d1d1b

Take care,

-- 
Kees Cook


      parent reply	other threads:[~2025-04-03 17:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-28 19:26 Nathan Chancellor
2025-03-28 19:26 ` [PATCH v3 1/2] include: Move typedefs in nls.h to their own header Nathan Chancellor
2025-03-28 19:26 ` [PATCH v3 2/2] lib/string.c: Add wcslen() Nathan Chancellor
2025-04-03 17:18 ` Kees Cook [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174370069511.3176651.13164537009477685490.b4-ty@kernel.org \
    --to=kees@kernel.org \
    --cc=andy@kernel.org \
    --cc=justinstitt@google.com \
    --cc=linux-hardening@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=morbo@google.com \
    --cc=nathan@kernel.org \
    --cc=nick.desaulniers+lkml@gmail.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®