mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 21:50:37 +00:00
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:
parent
8a92dd9a57
commit
cf48fbcf36
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user