Skip to content
Snippets Groups Projects
Commit 59894f24 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

png: fix potential buffer overflow

This is the error we have:
../../../modules/codec/png.c:162:49: warning: '%zu' directive output may be truncated writing between 1 and 20 bytes into a region of size between 18 and 37 [-Wformat-truncation=]
  162 |                   "block size %zu too small for %zu encoded bytes",
      |                                                 ^~~
../../../modules/codec/png.c:162:19: note: directive argument in the range [1, 18446744073709551615]
  162 |                   "block size %zu too small for %zu encoded bytes",
parent c613ece5
No related branches found
No related tags found
1 merge request!4374png: fix potential buffer overflow
Pipeline #394182 canceled with stage
in 28 minutes and 14 seconds
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