[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17466: unexpected bytevector contents with get-bytevector-n
From: |
Ludovic Courtès |
Subject: |
bug#17466: unexpected bytevector contents with get-bytevector-n |
Date: |
Wed, 28 May 2014 19:32:22 +0200 |
User-agent: |
Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) |
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’.