Commit 0a2e4893 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

hid: Increase buffer size to allow 16bit value + space + NUL (GCC7).

parent 082e4981
...@@ -183,7 +183,7 @@ static void process_data(HIDP_CAPS Caps, PHIDP_PREPARSED_DATA ppd, CHAR *data, D ...@@ -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++) for (j=count; j < count+15 && j < usage_length; j++)
{ {
CHAR btn[5]; CHAR btn[7];
sprintf(btn, "%i ", button_pages[j]); sprintf(btn, "%i ", button_pages[j]);
strcat(report, btn); strcat(report, btn);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment