I've been all day testing the RunLength filter, and sadly the problem was 
that
   I found this, pdf-stm-be.c, line 278:
   ##
         /* Copy the data */
         strncpy ((char *) be->data.mem.buffer + be->data.mem.pos,
                  (char *) buffer,
                  written_bytes);
   ###

   We should use memcpy() because strncpy() mess with '\0' characters. :-/
   Here is a patch for that modification,

Applied to the trunk.
Thanks.



Reply via email to