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
1 changed files with 1 additions and 1 deletions

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)