Re: [PATCH v2 3/3] strscpy: zero any trailing garbage bytes in the destination

From: Ingo Molnar
Date: Wed Oct 07 2015 - 03:31:57 EST



* Chris Metcalf <cmetcalf@xxxxxxxxxx> wrote:

> It's possible that the destination can be shadowed in userspace
> (as, for example, the perf buffers are now). So we should take
> care not to leak data that could be inspected by userspace.
>
> Signed-off-by: Chris Metcalf <cmetcalf@xxxxxxxxxx>

Please always preserve credits for who found the bug:

Reported-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

Also, you should credit the kbuild-bot for the cross-arch build breakages that
your other patches address:

Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html