scsh-hackers
[Top] [All Lists]

[ scsh-Bugs-1017625 ] read-delimited! -> heap overflow

To: scsh-hackers@scsh.net
Subject: [ scsh-Bugs-1017625 ] read-delimited! -> heap overflow
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Tue, 18 Oct 2005 07:58:27 -0700
List-id: Discussion among the implementors <scsh-hackers.list-id.scsh.net>
Sender: Nobody <nobody@projects.sourceforge.net>
Bugs item #1017625, was opened at 2004-08-27 16:26
Message generated for change (Settings changed) made by mainzelm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110493&aid=1017625&group_id=10493

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: run-time
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: hetz (chetz)
Assigned to: Martin Gasbichler (mainzelm)
Summary: read-delimited! -> heap overflow

Initial Comment:
The read-delimited! function from  section 7 of the 
manual has the following strange behavior:

calling it as follows

14> (define buffer "abcdefghi")
14> (read-delimited! "abc" buffer)

it returns, iff the first sign written is an 'a' a 'b', or a 'c'.
if the first sign is not a sign from the char-set argument
("abc") it won't return at all, but exits the scsh after a 
few seconds by  a heap overflow.

14> (define buffer "abcdefghi")
14> (read-delimited! "abc" buffer)
x
Scheme48 heap overflow

Process scheme exited abnormally with code 255

----------------------------------------------------------------------

>Comment By: Martin Gasbichler (mainzelm)
Date: 2005-10-18 16:58

Message:
Logged In: YES 
user_id=17553

The buffer in the example is immutable but
(%)read-delimited! failed to reject it in the first place.

Fixed

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110493&aid=1017625&group_id=10493

<Prev in Thread] Current Thread [Next in Thread>
  • [ scsh-Bugs-1017625 ] read-delimited! -> heap overflow, SourceForge.net <=