[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: uninitialized 'textbuf' in meta_create_entry() (ITS#2849)



This is a multi-part message in MIME format.
--56F6C93842B709ECB57E183DA7BDB6C094AF8731
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

h.b.furuseth@usit.uio.no wrote:

>Full_Name: Hallvard B Furuseth
>Version: HEAD
>OS: 
>URL: 
>Submission from: (NULL) (129.240.186.42)
>Submitted by: hallvard
>
>
>The variables 'textbuf' and 'textlen' are used uninitialized
>in back-meta/cache-search.c:meta_create_entry().
>

textbuf needs to be an automatic buffer, and textlen
needs to be its size.  Fixed in HEAD

p.

--56F6C93842B709ECB57E183DA7BDB6C094AF8731
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=disclaimer.txt

+----------------------------------------------------------------------------+
|   SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax:+390382476497    |
+----------------------------------------------------------------------------+
--56F6C93842B709ECB57E183DA7BDB6C094AF8731--