diff options
author | Didier Raboud <odyx@debian.org> | 2019-11-22 14:55:41 +0100 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2019-11-22 14:55:41 +0100 |
commit | eac8a40259703913a677501c47e39c53ff76cc1b (patch) | |
tree | 7dafda46e9acbf83556ebf4da0f19827c958bfd7 /filter/sys5ippprinter.c | |
parent | 6499cd24a204d1c72a2a1fa65a711273d9b025cc (diff) |
New upstream version 1.25.12
Diffstat (limited to 'filter/sys5ippprinter.c')
-rw-r--r-- | filter/sys5ippprinter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/sys5ippprinter.c b/filter/sys5ippprinter.c index 9a92c8e8e..6608e4749 100644 --- a/filter/sys5ippprinter.c +++ b/filter/sys5ippprinter.c @@ -661,7 +661,7 @@ exec_filters(cups_array_t *filters, /* I - Array of filters to run */ next = (char *)cupsArrayNext(filters); if (filter[0] == '/') { - strncpy(program, filter, sizeof(program)); + strncpy(program, filter, sizeof(program) - 1); if (strlen(filter) > 1023) program[1023] = '\0'; } |