-CHANGES.txt - 1.7.0 - 2013-10-18
+CHANGES.txt - 1.7.1 - 2013-10-28
--------------------------------
+CHANGES IN CUPS V1.7.1
+
+ - Auto debug logging was broken in 1.7.0 (<rdar://problem/15331639>)
+
+
CHANGES IN CUPS V1.7.0
- Updated Japanese localization.
AC_CONFIG_HEADER(config.h)
dnl Version number information...
-CUPS_VERSION="1.7.0"
+CUPS_VERSION="1.7.1"
CUPS_REVISION=""
#if test -z "$CUPS_REVISION" -a -d .svn; then
# CUPS_REVISION="-r`svnversion . | awk -F: '{print $NF}' | sed -e '1,$s/[[a-zA-Z]]*//g'`"
* Constants...
*/
-# define CUPS_VERSION 1.0700
+# define CUPS_VERSION 1.0701
# define CUPS_VERSION_MAJOR 1
# define CUPS_VERSION_MINOR 7
-# define CUPS_VERSION_PATCH 0
+# define CUPS_VERSION_PATCH 1
# define CUPS_BC_FD 3
/* Back-channel file descriptor for
*/
cupsd_joblog_t *temp; /* Copy of log message */
+ size_t log_len = strlen(log_line);
+ /* Length of log message */
-
- if ((temp = malloc(sizeof(cupsd_joblog_t) + strlen(log_line))) != NULL)
+ if ((temp = malloc(sizeof(cupsd_joblog_t) + log_len)) != NULL)
{
temp->time = time(NULL);
- strlcpy(temp->message, log_line, sizeof(temp->message));
+ memcpy(temp->message, log_line, log_len + 1);
}
if (!job->history)