scsh-hackers
[Top] [All Lists]

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

To: scsh-hackers <scsh-hackers@scsh.net>
Subject: [ scsh-Bugs-1017625 ] read-delimited! -> heap overflow
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Mon, 30 Aug 2004 05:11:18 -0700
List-id: Discussion among the implementors <scsh-hackers.list-id.scsh.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

Category: run-time
Group: None
Status: Open
Resolution: None
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

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

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>