[PATCH RESEND v2 17/51] s390/dasd: don't look in front of the buffer on an empty write
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Nov 5 11:29:22 PST 2026
> dasd_get_user_string() strips a trailing newline by looking at the last
> byte that was written. For an empty write that's the byte in front of
> the buffer it just allocated. Only look if something was written.
>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Cc: stable at vger.kernel.org
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-work-procfs-bugfixes-v2-0-021c84d852e0@kernel.org?part=17
More information about the kexec
mailing list