chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1136: move-memory! bug similar to #1135


From: Chicken Trac
Subject: [Chicken-janitors] #1136: move-memory! bug similar to #1135
Date: Mon, 30 Jun 2014 19:25:17 -0000

#1136: move-memory! bug similar to #1135
----------------------------+-----------------------------------------------
 Reporter:  sjamaan         |       Owner:        
     Type:  defect          |      Status:  new   
 Priority:  major           |   Milestone:  4.10.0
Component:  core libraries  |     Version:  4.9.x 
 Keywords:                  |  
----------------------------+-----------------------------------------------
 We need to check all the uses of memcpy, to see if there are any left
 which are wrong and should really be memmove due to the possibility of
 overlapping memory regions.

 Attached is a patch which adds a test, which somehow succeeds with the
 current code.  However, by adding this test I found another bug in the
 types.db code: it uses w2b which doesn't exist in chicken.h but only in
 lolevel.scm.  This macro does exactly the same as C_bytes, so I've
 rewritten it to that.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1136>
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]