[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28212: Grafting crashes when replacement lies near the end of buffer
From: |
Ludovic Courtès |
Subject: |
bug#28212: Grafting crashes when replacement lies near the end of buffer |
Date: |
Fri, 25 Aug 2017 00:10:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> As reported by Leo and then analyzed by Mark, grafting crashes when the
> replacement string lies near the end of buffer:
>
> https://lists.gnu.org/archive/html/guix-devel/2017-07/msg00445.html
[...]
> 173: 1 [replace-store-references #<input:
> /gnu/store/73fvsx0qizcrbajgjwn8mkzkpxa6abx4-go-1.9rc1/pkg/tool/linux_amd64/link
> 6> ...]
> In unknown file:
> ?: 0 [put-bytevector #<output:
> /gnu/store/8bjpc7wxdxsxbf45qvwsd6jbn7zgi871-go-1.9rc1/pkg/tool/linux_amd64/link
> 7> ...]
>
> ERROR: In procedure put-bytevector:
> ERROR: In procedure put-bytevector: Value out of range: 0
> builder for `/gnu/store/n420a0qs7vwnbaj4j3knhfy9j7zqwvs4-go-1.9rc1.drv'
> failed with exit code 1
I believe commit 94e86a6b67c7a02f5f11358743f3b9f11997059c fixes this.
Thanks a lot for your analysis, Mark!
Ludo’.