Skip to content
Snippets Groups Projects
Commit 5173ff87 authored by Frediano Ziglio's avatar Frediano Ziglio
Browse files

lz: More checks on image sizes


Extend sizes check also to decoding, actually the source data
decoding images should be less safe than encoding.
This avoids different integer overflows and buffer overflows.
To avoid potential issues images are limited to 1GB.

Signed-off-by: default avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: default avatarChristophe Fergeau <cfergeau@redhat.com>
parent 3050b4e1
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment