pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] Re: Fix probable problem with array subscript in ASCII85 dec


From: jemarch
Subject: [pdf-devel] Re: Fix probable problem with array subscript in ASCII85 decoder
Date: Mon, 22 Feb 2010 18:09:40 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.1.91 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

   > Details - We are getting the following warnings while compiling the 
library.  It may indicate a possible
   > buffer overflow. The declaration of 'pdf_stm_f_a85_write_outbuff' shall be 
deleted if it won't be used at all.
   >
   > base/pdf-stm-f-a85.c:50: warning: 'pdf_stm_f_a85_write_outbuff' declared 
'static' but never defined
   > base/pdf-stm-f-a85.c: In function 'pdf_stm_f_a85dec_apply':
   > base/pdf-stm-f-a85.c:775: warning: array subscript is above array bounds
   >

   Attached is my fix for the A85 filter.

Committed.  Thanks.

-- 
Jose E. Marchesi    address@hidden
GNU Project         http://www.gnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]