Project

General

Profile

Actions

Bug #19748

closed

`String#byteindex` crashes when `offset` is too large

Added by nobu (Nobuyoshi Nakada) 11 months ago. Updated 10 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:114034]

Description

"a".byteindex("", 1000000) #=> [BUG] Segmentation fault
Actions

Also available in: Atom PDF

Like0
Like0Like0