13 lines
525 B
Diff
13 lines
525 B
Diff
diff -up cups-1.7rc1/scheduler/log.c.orig cups-1.7rc1/scheduler/log.c
|
|
--- cups-1.7rc1/scheduler/log.c.orig 2013-10-24 15:40:42.412062412 +0100
|
|
+++ cups-1.7rc1/scheduler/log.c 2013-10-24 15:40:43.329066617 +0100
|
|
@@ -534,7 +534,7 @@ cupsdLogJob(cupsd_job_t *job, /* I - Jo
|
|
if ((temp = malloc(sizeof(cupsd_joblog_t) + strlen(log_line))) != NULL)
|
|
{
|
|
temp->time = time(NULL);
|
|
- strlcpy(temp->message, log_line, sizeof(temp->message));
|
|
+ strcpy(temp->message, log_line);
|
|
}
|
|
|
|
if (!job->history)
|