winedbg: Extend buffer in packet_query_monitor_process to avoid avoid overrun/truncation.

Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gerald Pfeifer 2016-10-02 07:40:36 +02:00 committed by Alexandre Julliard
parent 8a92dd9a57
commit cf48fbcf36

View file

@ -1710,7 +1710,7 @@ static void packet_query_monitor_wnd(struct gdb_context* gdbctx, int len, const
static void packet_query_monitor_process(struct gdb_context* gdbctx, int len, const char* str)
{
HANDLE snap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
char buffer[128];
char buffer[31+MAX_PATH];
char deco;
PROCESSENTRY32 entry;
BOOL ok;