chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #61: Buffer overflow in file_info_2


From: Chicken Trac
Subject: [Chicken-janitors] #61: Buffer overflow in file_info_2
Date: Fri, 31 Jul 2009 04:29:24 -0000

#61: Buffer overflow in file_info_2
----------------------------+-----------------------------------------------
 Reporter:  zbigniew        |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  major           |   Milestone:       
Component:  core libraries  |     Version:  4.1.x
 Keywords:                  |  
----------------------------+-----------------------------------------------
 {{{
 #;> (file-exists? (list->string (map (lambda (x) #\a) (iota 4135))))
 Segmentation fault (core dumped)
 }}}


 Patch attached.  Also fixes a couple other overflows in Win32 code and
 adds a safety check for fmode size (which should never overflow, but...)

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/61>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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