diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 8bf1ebb9d..bc2876107 100644 --- a/src/process.c +++ b/src/process.c @@ -211,7 +211,7 @@ void process() /* First make a copy of the buffer so we have the original in case we * crash - in that case, we want to know what we crashed on. */ - strscpy(buf, inbuf, 513); + strscpy(buf, inbuf, sizeof(buf)); doCleanBuffer((char *) buf); |