bug#59540: Calling length on a very long improper list is disastrous.

2022-12-10 Thread Ludovic Courtès
Hi Jeremy, Jeremy Phelps skribis: > I lost my Emacs session today because I accidentally called the length > function on an extremely long improper list. > > But Guile prints the entire thing when it reports the error that happens > when the length function gets to the improper part of the

bug#59874: Segfault from string-ref with negative 'k'

2022-12-10 Thread bokr
HI, On +2022-12-07 11:29:28 +0100, Ricardo Wurmus wrote: > Thank you for reporting this bug. > > > i noticed that if i, on my system, run "guile" from a shell and then type > > into the command prompt that appears, > > > > (string-ref "a string" -1) > > > > guile appears to hang for a few