[Pkg-clamav-devel] new clamav 0.98.5 beta1

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Fri Aug 15 07:06:34 UTC 2014


On 2014-08-14 22:31:27 [+0200], Sebastian Andrzej Siewior wrote:
> > arm + powerpc look like the same bug somewhere in the new pdf scanning
> > code. Haven't look at mips but I guess it is the same.
> 
> I investigated further and oh oh I was wrong. It seems that the crash in
> pdf code is just a symptom. What I know now:
> 
> - it crashes on armhf. I can reproduce this. Starting the testcase
>   manually does not trigger the problem (I didn't expect it to :P).
> - removing -D_FILE_OFFSET_BITS=64 from CFLAGS removes the crash. Now it
>   complains because the .cab files aren't scanned.
> - removing the libmspack patch and we pass the test suite.
> 
> - adding AC_SYS_LARGEFILE.
>   ^^ this happens right now. I will know more once I wake up…

Okay. This fails, too. I found one bug. The pdf code does a
	debug_printf("%ld %s\n", off_t, string);
the off_t uses two registers but according to the %ld modifier printf
uses only one. It uses the second register for printf which is however
part of the number and dereferencing it leads to the segfault we see.

I have a fix for that, the suite still fails, will investigate later
more…

> 
> > > Scott K
> 
Sebastian



More information about the Pkg-clamav-devel mailing list