mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-06-25 11:32:28 +00:00
The buffer for responses must not overflow. If this would happen, set a flag, drop the data and return an error after user space has read all remaining data. Signed-off-by: Oliver Neukum <oliver@neukum.org> CC: stable@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>