Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform/x86: thinkpad_acpi: Revert "Use strndup_user() in dispatch_p…
…roc_write()" This reverts commit 35d13c7. 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: 35d13c7 ("platform/x86: thinkpad_acpi: Use strndup_user() in dispatch_proc_write()") Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
- Loading branch information