Summary
vector->string adds \x00 to the output
Metadata
- Id: ee24abca58e764a2cdbac4210a1676ef8b2e3d43
- Trac id: 1868
- Type: defect
- Reporter: zilti
- Owner:
- Cc:
- Status: new
- Component: extensions
- Estimated difficulty: easy
- Resolution:
- Priority: major
- Milestone: someday
- Version: 6.0.0
- Changetime: 2026-07-04 22:32:21 UTC
- Created: 2026-03-21 02:01:04 UTC
- Keywords:
Description
vector->string adds NULL bytes to the output in increasing frequency:
(vector->string '#(#\a #\b #\c #\d #\e)) ;;=> "ab\x00;c\x00;\x00;\x00;d\x00;\x00;\x00;\x00;\x00;\x00;\x00;e\x00;\x00;\x00;\x00;\x00;\x00;\x13;\x00;"
Even worse, this:
(vector->string (string->vector (vector->string '#(#\a #\b #\c #\d #\e))))
results in a segmentation violation error.
Changes and comments
[2026-07-04 22:31:56 UTC] felix wrote:
This is an error in one of the SRFI libraries, not the core system, which doesn't have this operation.