ad7847 journald: when processing a native message, bail more quickly on overbig messages

1 file Authored by Zbigniew Jędrzejewski-Szmek 4 years ago, Committed by Packit Service 4 years ago,
    journald: when processing a native message, bail more quickly on overbig messages
    
    We'd first parse all or most of the message, and only then consider if it
    is not too large. Also, when encountering a single field over the limit,
    we'd still process the preceding part of the message. Let's be stricter,
    and check size limits early, and let's refuse the whole message if it fails
    any of the size limits.
    
    (cherry-picked from commit 964ef920ea6735d39f856b05fd8ef451a09a6a1d)
    
    Related: #1664977
    
    patch_name: 0081-journald-when-processing-a-native-message-bail-more-.patch
    present_in_specfile: true
    location_in_specfile: 81
    squash_commits: true
    
        
file modified
+37 -28