aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-07-15 09:40:07 +0000
committerAndy Shevchenko <[email protected]>2020-07-15 09:45:06 +0000
commitdf11f6c516cdeb98624f4189ab4e00aeeaaaafe6 (patch)
treee0da6e0acca1b3b738571689cf781cbe9db8e8db /lib/test-string_helpers.c
parentplatform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15 (diff)
downloadkernel-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