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

[general/ioctl] data length incorrect #1164

Open
ccdriver opened this issue Apr 26, 2024 · 0 comments
Open

[general/ioctl] data length incorrect #1164

ccdriver opened this issue Apr 26, 2024 · 0 comments
Assignees
Labels

Comments

@ccdriver
Copy link

ccdriver commented Apr 26, 2024

in nonpnp sample, line 976 of nonpnp.c
if (datalen <= OutputBufferLength)
{
RtlCopyMemory(buffer, data, datalen);
}
else
{
RtlCopyMemory(buffer, data, OutputBufferLength);
}

@NeoAdonis NeoAdonis changed the title data length incorrect [general/ioctl] data length incorrect Jun 4, 2024
@NeoAdonis NeoAdonis added the bug label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants