libnitrokey icon indicating copy to clipboard operation
libnitrokey copied to clipboard

Use memcpy instead of strcpy

Open szszszsz opened this issue 4 years ago • 0 comments

While sending temporary password, the strcpy is used to copy binary buffer, which might result in setting the value shorter than allowed.

https://github.com/Nitrokey/libnitrokey/blob/2e38681cd0b34e1ce36a6417445f3a7ca75f246c/NitrokeyManager.cc#L680

szszszsz avatar Jun 06 '20 11:06 szszszsz