1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-12-21 23:08:53 -05:00

Allocate a buffer large enough for signature

This commit is contained in:
Raphael Assenat 2015-11-03 23:52:35 -05:00
parent 24547c3816
commit b312d1466d

View File

@ -111,7 +111,7 @@ const char *gcn64lib_controllerName(int type)
int gcn64lib_getSignature(gcn64_hdl_t hdl, char *dst, int dstmax)
{
unsigned char cmd[32];
unsigned char cmd[40];
int n;
if (dstmax <= 0)