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

'errno' not reset prior to create_uio_info() #11

Open
bear101 opened this issue Jul 25, 2018 · 0 comments
Open

'errno' not reset prior to create_uio_info() #11

bear101 opened this issue Jul 25, 2018 · 0 comments

Comments

@bear101
Copy link

bear101 commented Jul 25, 2018

https://github.com/Linutronix/libuio/blob/ca28ff0f69d89a789a47552c72db5a43d280710b/base.c#L288

If 'errno' is already active when calling uio_find_by_uio_num() then libuio will think it's an error caused by libuio itself. Why not check for NULL instead of 'errno'?

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