e06187 journal-remote: set a limit on the number of fields in a message

2 files Authored by Zbigniew Jędrzejewski-Szmek 4 years ago, Committed by Packit Service 4 years ago,
    journal-remote: set a limit on the number of fields in a message
    
    Existing use of E2BIG is replaced with ENOBUFS (entry too long), and E2BIG is
    reused for the new error condition (too many fields).
    
    This matches the change done for systemd-journald, hence forming the second
    part of the fix for CVE-2018-16865
    (https://bugzilla.redhat.com/show_bug.cgi?id=1653861).
    
    (cherry-picked from commit ef4d6abe7c7fab6cbff975b32e76b09feee56074)
    
    Resolves: #1664977
    
    patch_name: 0085-journal-remote-set-a-limit-on-the-number-of-fields-i.patch
    present_in_specfile: true
    location_in_specfile: 85
    squash_commits: true