ref: 18fcdbd2c79ac962b96759bb79c8ce5de31bc1d3
parent: 261918774d46c50c96f729f4e92b01323c56c398
author: Ori Bernstein <[email protected]>
date: Sun Dec 16 14:39:37 EST 2018
fix missized copy.
--- a/6/main.c
+++ b/6/main.c
@@ -92,7 +92,7 @@
int pid, status;
if (outfile != NULL)
- strncpy(objfile, outfile, 1024);
+ strncpy(objfile, outfile, sizeof(objfile));
else {
psuffix = strrchr(path, '+');
i = 0;