Hi,

I can see the same error here on debian/lenny:

Fri Oct  8 13:23:32 2010
-> /var/spool/MIMEDefang/mdefang-o98BMMvC023655/Work/msg-15991-293.pdf:
Unknown error code ERROR

A test of the PDF attachment shows:

clamscan --debug --bytecode=yes test.pdf

[...]
LibClamAV debug: Bytecode: 12 bytecode prepared with JIT
LibClamAV debug: in cli_magic_scandesc (reclevel: 0/16)
LibClamAV debug: cache_check: 5dd837871ef272efbc451c9c96b8aa61 is negative
LibClamAV debug: Recognized PDF document file
LibClamAV debug: in cli_pdf(/tmp/clamav-5d984660bb7eb156d4c68cfe9182f36a)
LibClamAV debug: cli_pdf: encrypted pdf found, stream will probably fail to 
decompress!
LibClamAV debug: cli_pdf: found xref
LibClamAV debug: Bytecode executing hook id 258 (1 hooks)
LibClamAV debug: Bytecode: executing in JIT mode
LibClamAV debug: bytecode debug: #>> found at
146618LibClamAV debug: bytecode debug:  encrypted pdf -> aborting
bytecode finished in 300us
LibClamAV debug: Bytecode 5 returned 846430
LibClamAV debug: Bytecode set BREAK flag in hook!
LibClamAV debug: Bytecode: executed 1 bytecodes for this hook
LibClamAV debug: cli_pdf: returning 22
LibClamAV debug: Matched signature for file type PDF at 0
LibClamAV debug: Running bytecode for logical signature match
LibClamAV debug: Bytecode: executing in JIT mode
bytecode finished in 54us
LibClamAV debug: Bytecode 3 returned code: 0
LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0
LibClamAV debug: cli_magic_scandesc: returning 22  at line 2373
test.pdf: Unknown error code ERROR
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Freeing phishcheck struct
LibClamAV debug: Phishcheck cleaned up

----------- SCAN SUMMARY -----------
Known viruses: 841711
Engine version: 0.96.3
Scanned directories: 0
Scanned files: 0
Infected files: 0
Total errors: 1
Data scanned: 0.80 MB
Data read: 0.80 MB (ratio 1.00:1)
Time: 13.920 sec (0 m 13 s)


installed packages:

clamav                            0.96.3+dfsg-1~volatile1
clamav-base                       0.96.3+dfsg-1~volatile1
clamav-daemon                     0.96.3+dfsg-1~volatile1
clamav-freshclam                  0.96.3+dfsg-1~volatile1
libclamav6                        0.96.3+dfsg-1~volatile1

Ciao,
Marcus


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to