Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ioctl - copy_from_user #1

Open
gioachino opened this issue Apr 25, 2016 · 0 comments
Open

ioctl - copy_from_user #1

gioachino opened this issue Apr 25, 2016 · 0 comments

Comments

@gioachino
Copy link

Hi,

in function adk_ioctl the line

retval=copy_from_user(pacc,ioargp,sizeof(accessory_t));

is wrong or not sufficient, since the struct accessory_t contains pointers to string buffers, which must be copied from user space also.

KR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant