Opened 4 hours ago
#1869 new defect
vector->string adds \x00 to the output
| Reported by: | zilti | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | someday |
| Component: | core libraries | Version: | 6.0.0 |
| Keywords: | Cc: | ||
| Estimated difficulty: | easy |
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.
Note:
See TracTickets
for help on using tickets.
