GNU bug report logs - #17466
unexpected bytevector contents with get-bytevector-n

Previous Next

Package: guile;

Reported by: J Kalbhenn <jkal <at> posteo.eu>

Date: Sun, 11 May 2014 16:51:01 UTC

Severity: normal

Merged with 17591

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #15 received at 17466-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: J Kalbhenn <jkal <at> posteo.eu>
Cc: 17466-done <at> debbugs.gnu.org
Subject: Re: bug#17466: unexpected bytevector contents with get-bytevector-n
Date: Wed, 28 May 2014 19:32:22 +0200
This is fixed by commit 1baa215, which will be in Guile 2.0.12.

It turns out that when shrinking a bytevector, as happens before
‘get-bytevector-n’ returns, the pointer to the bytevector’s contents
would not be left pointing to the old bytevector.  When that old
bytevector was eventually reclaimed, anything could happen.

Thanks!

Ludo’.




This bug report was last modified 11 years and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.