- The scheduler now includes the `[Job N]` prefix for job log messages, even
when using syslog logging (Issue #154)
- Added support for locales using the GB18030 character set (Issue #159)
+- The IPP parser now errors out when reading a member attribute outside a
+ collection.
- Documentation fixes (Issue #92)
- Localization updates (Issue #123, Issue #129, Issue #134, Issue #146)
- USB quirk updates (Apple #5766, Apple #5838, Apple #5843, Apple #5867)
/*
* Internet Printing Protocol functions for CUPS.
*
- * Copyright © 2007-2019 by Apple Inc.
+ * Copyright © 2007-2021 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
_cupsBufferRelease((char *)buffer);
return (IPP_STATE_ERROR);
}
+ else if (!parent)
+ {
+ _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("IPP member attribute outside of collection."), 1);
+ DEBUG_puts("1ippReadIO: member attribute outside of collection.");
+ _cupsBufferRelease((char *)buffer);
+ return (IPP_STATE_ERROR);
+ }
if (ipp->current)
ipp->prev = ipp->current;