[email protected] writes:

> Hi David.
>
> It seems that the filters never return PDF_EEOF when finish_p equals
> to true: they return either PDF_ENINPUT or PDF_ERROR.
>
> +          if (aux_size > out_size)
> +            {
> +              /* We should can return PDF_ENOUTPUT. However the
> +                 output buffer is assumed to be full if we return
> +                 PDF_ENOUTPUT, but we can not write it partially.  */
> +              return PDF_ERROR;
> +            }
>
> The same problem that we found in the previous version: the filter
> should cache the output of the cypher and write it step by step,
> returning PDF_ENOUTPUT if the output buffer is not big enough to hold
> all the data.
>
> Did you send the right version of the filters?

Jemarch, the patch was for the crypt module with support for incremental
encryption.


Reply via email to