[Top][All Lists]

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

Re: Fixed string corruption bugs

From: Andy Wingo
Subject: Re: Fixed string corruption bugs
Date: Sat, 07 Jan 2012 17:19:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Sat 07 Jan 2012 16:43, Mark H Weaver <address@hidden> writes:

>> Subject: [PATCH] Fix bugs related to mutation-sharing substrings


> I committed this.  Here's an example that segfaulted before these fixes:
>   scheme@(guile-user)> (define s (string-copy "hello"))
>   scheme@(guile-user)> (define ss (substring/shared s 1 4))
>   scheme@(guile-user)> (string-set! ss 0 #\λ)
>   Segmentation fault

Probably a good idea to add it (or something like it) to the test suite


reply via email to

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