Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF content not checked #1386

Open
JAF84 opened this issue Oct 9, 2024 · 0 comments
Open

PDF content not checked #1386

JAF84 opened this issue Oct 9, 2024 · 0 comments

Comments

@JAF84
Copy link

JAF84 commented Oct 9, 2024

hello,

see attached sample.
clamscan.exe --debug --leave-temps=yes --tempdir=tmp *pdf

Clamav does detect 9 objects in the pdf file:


LibClamAV debug: pdf_findobj: found 1 0 obj @22, size: 45 bytes.
LibClamAV debug: pdf_findobj: found 2 0 obj @81, size: 100 bytes.
LibClamAV debug: pdf_findobj: found 3 0 obj @195, size: 35 bytes.
LibClamAV debug: pdf_findobj: found 4 0 obj @244, size: 124 bytes.
LibClamAV debug: pdf_findobj: found 5 0 obj @382, size: 36 bytes.
LibClamAV debug: pdf_findobj: found 6 0 obj @432, size: 3475371 bytes.
LibClamAV debug: pdf_findobj: found 7 0 obj @3475817, size: 146078 bytes.
LibClamAV debug: pdf_findobj: found 8 0 obj @3621909, size: 85 bytes.
LibClamAV debug: pdf_findobj: found 9 0 obj @3622008, size: 242 bytes.

but only one object is been extracted and checked when you take a look at the tmp-direcotry.

this must be a bug
Invoice-attachment.pdf

br JAF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant