Angelo G. Del Regno a8d7b20544 msm: gsi: Correctly allocate memory for copy_from_user
Copying from user to a global variable inside the driver is
unsafe and insecure: allocate and free the memory used for
copying from userspace in the functions doing it.

This also has the good side effect of solving a build failure
when the kernel is built with GCC >=4.9

Change-Id: I96d0e74fa73939883079cf2b3308dbfa7de6a453
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
2024-12-31 01:58:19 -03:00
..
2023-12-21 12:10:30 +00:00