mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue