diff options
Diffstat (limited to 'bugs')
| -rw-r--r-- | bugs | 19 |
1 files changed, 19 insertions, 0 deletions
| @@ -4017,6 +4017,25 @@ patch = [[ | |||
| 4017 | 4017 | ||
| 4018 | 4018 | ||
| 4019 | 4019 | ||
| 4020 | --[=[ | ||
| 4021 | Bug{ | ||
| 4022 | what = [[Long brackets with a huge number of '=' overflow some | ||
| 4023 | internal buffer arithmetic]], | ||
| 4024 | report = [[Marco, 2018/12/12]], | ||
| 4025 | since = [[5.1]], | ||
| 4026 | fix = nil, | ||
| 4027 | example = [[ | ||
| 4028 | local eqs = string.rep("=", 0x3ffffffe) | ||
| 4029 | local code = "return [" .. eqs .. "[a]" .. eqs .. "]" | ||
| 4030 | print(#assert(load(code))()) | ||
| 4031 | ]], | ||
| 4032 | patch = [[ | ||
| 4033 | ]] | ||
| 4034 | } | ||
| 4035 | ]=] | ||
| 4036 | |||
| 4037 | |||
| 4038 | |||
| 4020 | 4039 | ||
| 4021 | --[=[ | 4040 | --[=[ |
| 4022 | Bug{ | 4041 | Bug{ |
