mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Fix off-by-one error
This commit is contained in:
parent
ce95299919
commit
57ebc43e56
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ object Cyc_list2string(object cont, object lst){
|
|||
}
|
||||
buf[i] = '\0';
|
||||
|
||||
{ make_string_noalloc(str, buf, i - 1);
|
||||
{ make_string_noalloc(str, buf, i);
|
||||
return_closcall1(cont, &str);}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue