diff options
| author | Andy Shevchenko <[email protected]> | 2020-07-15 09:40:07 +0000 |
|---|---|---|
| committer | Andy Shevchenko <[email protected]> | 2020-07-15 09:45:06 +0000 |
| commit | df11f6c516cdeb98624f4189ab4e00aeeaaaafe6 (patch) | |
| tree | e0da6e0acca1b3b738571689cf781cbe9db8e8db /lib/test-string_helpers.c | |
| parent | platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15 (diff) | |
| download | kernel-df11f6c516cdeb98624f4189ab4e00aeeaaaafe6.tar.gz kernel-df11f6c516cdeb98624f4189ab4e00aeeaaaafe6.zip | |
platform/x86: thinkpad_acpi: Revert "Use strndup_user() in dispatch_proc_write()"
This reverts commit 35d13c7a05126a5a54a1ef40aff4c6984474e604.
This broke procfs interface due to neglecting the fact that
the strings are not coming NULL terminated.
Revert the change till we will have a better clean up.
Fixes: 35d13c7a0512 ("platform/x86: thinkpad_acpi: Use strndup_user() in dispatch_proc_write()")
Reported-by: Hans de Goede <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
