Skip to content

PluggableUSB iSerialNum buffer overflow #83

Open
@Legion2

Description

@Legion2

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions