summary refs log tree commit diff stats
path: root/changelogs
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2024-05-27 20:13:18 +0800
committerGitHub <noreply@github.com>2024-05-27 14:13:18 +0200
commitc615828ccb2b309ac03aab93d94b40af6b4079ff (patch)
tree3727488e9bfce7ffeba47e03ddaba561fe4aa0ab /changelogs
parent3bda5fc840870f6589e4bdbcbbdc811bde599969 (diff)
downloadNim-c615828ccb2b309ac03aab93d94b40af6b4079ff.tar.gz
fixes #22852; fixes #23435; fixes #23645; SIGSEGV when slicing string or seq[T] with index out of range (#23279)
follow up https://github.com/nim-lang/Nim/pull/23013

fixes #22852
fixes #23435
fixes #23645

reports rangeDefect correctly

```nim
/workspaces/Nim/test9.nim(1) test9
/workspaces/Nim/lib/system/indices.nim(116) []
/workspaces/Nim/lib/system/fatal.nim(53) sysFatal
Error: unhandled exception: value out of range: -2 notin 0 .. 9223372036854775807 [RangeDefect]
```
Diffstat (limited to 'changelogs')
0 files changed, 0 insertions, 0 deletions