Re: [PATCH v4] EDAC/mc: Prefer strscpy over strcpy
From: Joe Perches <joe@perches.com>
Date: 2021-08-27 19:08:35
Also in:
linux-hardening, lkml
From: Joe Perches <joe@perches.com>
Date: 2021-08-27 19:08:35
Also in:
linux-hardening, lkml
On Fri, 2021-08-27 at 19:54 +0200, Borislav Petkov wrote:
So it would be a lot more robust if something would catch that change, albeit seemingly redundant now.
I still think scnprintf is _way_ more common and intelligible as a construct than this odd strscpy with required error checking.