summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-29 02:34:22 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-29 02:34:22 +0200
commit418efac4c62fc4133b2d87aabd318b3567ecf3c1 (patch)
tree4770e35e87dbf9273b4c6aaaab60a19d1cc4fbab /doc
parent2945780a5a04714e683529c0e0284d0e55326db5 (diff)
downloadgeiser-418efac4c62fc4133b2d87aabd318b3567ecf3c1.tar.gz
geiser-418efac4c62fc4133b2d87aabd318b3567ecf3c1.tar.bz2
Avoiding a segfault due to out of bounds stack size
The parser in geiser-syntax is (tail, but elisp doesn't care) recursive, and we are setting max-lisp-eval-depth to some, ahem, heuristic value before starting a read. For long strings, such as that returned by the list of identifiers exported by the racket module, the heuristic was bad enough to produce a value making Emacs to blow away. This is just a palliative. The real solution is turn the recursion in geiser-syntax--read into an explicit iteration.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions