diff options
author | Till Kamppeter <till.kamppeter@gmail.com> | 2012-06-18 21:31:45 +0200 |
---|---|---|
committer | Till Kamppeter <till.kamppeter@gmail.com> | 2012-06-18 21:31:45 +0200 |
commit | a3f8b29532f3cd5902eb468b6318573b1d59778e (patch) | |
tree | 3e3badb4c2b786c8539a81c987a2b3b6ac34c98d /spooler.c | |
parent | 399d0e9fca6341340fdfaeb4566b23eec2fb99d3 (diff) | |
parent | ca7afd6b61bfd6d390ca91dc4b91c0943145e307 (diff) |
Merge tag 'upstream/4.0.16'
Upstream version 4.0.16
Diffstat (limited to 'spooler.c')
-rw-r--r-- | spooler.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -274,7 +274,7 @@ void init_cups(list_t *arglist, dstr_t *filelist, jobparams_t *job) cups_options_len = strlen(arglist_get(arglist, 4)); cups_options = malloc(cups_options_len + 1); - strncpy_omit(cups_options, arglist_get(arglist, 4), cups_options_len, omit_shellescapes); + strncpy_omit(cups_options, arglist_get(arglist, 4), cups_options_len + 1, omit_shellescapes); /* Common job parameters */ strcpy(job->id, cups_jobid); |