You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
memcpy in read and write should be replaced by copy_from_user or copy_to_user
because the buf point to the userspace address which can not be direct accessed in kernel
The text was updated successfully, but these errors were encountered:
Thanks for pointing it out.
I am going to work on the drivers soon, since they do not manage well multiple writes scenario, so I will include your suggestion too.
memcpy in read and write should be replaced by copy_from_user or copy_to_user
because the buf point to the userspace address which can not be direct accessed in kernel
The text was updated successfully, but these errors were encountered: