Skip to content

PluggableUSB iSerialNum buffer overflow #83

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

Open
Legion2 opened this issue Apr 28, 2019 · 0 comments
Open

PluggableUSB iSerialNum buffer overflow #83

Legion2 opened this issue Apr 28, 2019 · 0 comments

Comments

@Legion2
Copy link

Legion2 commented Apr 28, 2019

PluggableUSB_::getShortName and PluggableUSBModule::getShortName should not only get a char pointer as argument, but also the size of the buffer. I have currently the problem that i don't know how many chars I can copy to the pointer, without producing a overflow. So if other PluggableUSBModule's appended some characters, I have less space for my string. But currently I can't know that, because the remaining size of the buffer is not given.

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

No branches or pull requests

2 participants