Commit cf48fbcf authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

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