diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-06-08 10:55:03 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-09-02 18:00:19 +0200 |
| commit | 0fda18b7f588382ed9f433fb0a7ec25fc61ab3fc (patch) | |
| tree | d7ecc1c09881166872225bdbe5614d948694f006 /scripts/Makefile.thinlto | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
| download | linux-next-0fda18b7f588382ed9f433fb0a7ec25fc61ab3fc.tar.gz linux-next-0fda18b7f588382ed9f433fb0a7ec25fc61ab3fc.zip | |
mmc: core: Replace strcpy() in loop with memcpy() outside
When copying the info strings and generating a char ** list copy all the
strings into the kmalloced buffer outside the loop and use strchr(str, 0)
to find the next string inside the loop.
Removes some strcpy() that static tools might think are unbounded.
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
