cups-dbus-utf.patch: no need to validate job-name name.
This commit is contained in:
parent
55c9869389
commit
aee5018577
@ -104,12 +104,3 @@ diff -up cups-1.6.1/notifier/dbus.c.dbus-utf8 cups-1.6.1/notifier/dbus.c
|
||||
if (!dbus_message_iter_append_string(&iter, &val))
|
||||
goto bail;
|
||||
}
|
||||
@@ -530,7 +605,7 @@ main(int argc, /* I - Number of comm
|
||||
attr = ippFindAttribute(msg, "job-name", IPP_TAG_NAME);
|
||||
if (attr)
|
||||
{
|
||||
- const char *val = ippGetString(attr, 0, NULL);
|
||||
+ const char *val = validate_utf8 (ippGetString(attr, 0, NULL));
|
||||
if (!dbus_message_iter_append_string(&iter, &val))
|
||||
goto bail;
|
||||
}
|
||||
|
@ -621,6 +621,11 @@ rm -f %{cups_serverbin}/backend/smb
|
||||
%{_mandir}/man5/ipptoolfile.5.gz
|
||||
|
||||
%changelog
|
||||
* Wed Apr 10 2013 Tim Waugh <twaugh@redhat.com>
|
||||
- cups-dbus-utf.patch: now that the scheduler only accepts valid UTF-8
|
||||
strings for job-name, there's no need to validate it as UTF-8 in the
|
||||
dbus notifier.
|
||||
|
||||
* Thu Apr 4 2013 Tim Waugh <twaugh@redhat.com> 1:1.6.1-4
|
||||
- Use IP address when resolving DNSSD URIs (bug #948288).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user