#1141781 wrong output for zip files when using magic_buffer instead of magic_file

Package:
libmagic1t64
Source:
libmagic1t64
Description:
Recognize the type of data in a file using "magic" numbers - library
Submitter:
Erik Thiele
Date:
2026-07-10 08:37:02 UTC
Severity:
normal
#1141781#5
Date:
2026-07-10 08:30:32 UTC
From:
To:
Version: 1:5.46-5

Compile the report.c file in the attachment as documented in the file.

it will give wrong output when using magic_buffer instead of magic_file.

everything is documented in the file.

Running on debian bookworm works, but running on debian trixie gives
wrong result.


Best Regards,

Erik Thiele