Re: [PATCH v2] lib/string.c: implement stpcpy

From: Kees Cook
Date: Mon Aug 17 2020 - 15:17:04 EST


On Mon, Aug 17, 2020 at 10:14:43AM -0700, Sami Tolvanen wrote:
> I just confirmed that adding -fno-builtin-stpcpy to KBUILD_CFLAGS does
> work with LTO as well.

Oh, I read this out of order; sorry! Yes, if -fno-builtin-stpcpy works,
let's use that instead. Doesn't that solve it too?

--
Kees Cook