diff options
-rw-r--r-- | win32/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/process.c b/win32/process.c index ba6444fac..e2e81c793 100644 --- a/win32/process.c +++ b/win32/process.c | |||
@@ -359,7 +359,7 @@ procps_status_t* FAST_FUNC procps_scan(procps_status_t* sp, int flags UNUSED_PAR | |||
359 | } | 359 | } |
360 | 360 | ||
361 | sp->pid = pe.th32ProcessID; | 361 | sp->pid = pe.th32ProcessID; |
362 | strncpy(sp->comm, pe.szExeFile, COMM_LEN); | 362 | safe_strncpy(sp->comm, pe.szExeFile, COMM_LEN); |
363 | return sp; | 363 | return sp; |
364 | } | 364 | } |
365 | 365 | ||