hid: Increase buffer size to allow 16bit value + space + NUL (GCC7).
Signed-off-by: Marcus Meissner <meissner@suse.de> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
082e498163
commit
0a2e48933d
|
@ -183,7 +183,7 @@ static void process_data(HIDP_CAPS Caps, PHIDP_PREPARSED_DATA ppd, CHAR *data, D
|
|||
{
|
||||
for (j=count; j < count+15 && j < usage_length; j++)
|
||||
{
|
||||
CHAR btn[5];
|
||||
CHAR btn[7];
|
||||
sprintf(btn, "%i ", button_pages[j]);
|
||||
strcat(report, btn);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue