ActionsLike0
Bug #13672
closedGarbage input hangs ruby (not responding ^C)
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-06-23 trunk 59146) [x86_64-darwin15]
Backport:
Description
Passing the attached file makes hang.
ruby hang.rb
Files
Updated by nobu (Nobuyoshi Nakada) almost 8 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r59161.
parse.y: check multibyte char
- parse.y (parser_precise_mbclen): check invalid multibyte char at
skipping strings following?x
literal string, not to stuck in
a infinite loop. [ruby-core:81746] [Bug #13672]
Updated by usa (Usaku NAKAMURA) almost 8 years ago
- Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: REQUIRED, 2.4: REQUIRED
memo: it seems that this not appears on ruby_2_3, but it should be backported.
Updated by usa (Usaku NAKAMURA) almost 8 years ago
- Backport changed from 2.2: WONTFIX, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: DONE, 2.4: REQUIRED
ruby_2_3 r59241 merged revision(s) 59161.
Updated by nagachika (Tomoyuki Chikanaga) over 7 years ago
- Backport changed from 2.2: WONTFIX, 2.3: DONE, 2.4: REQUIRED to 2.2: WONTFIX, 2.3: DONE, 2.4: DONE
ruby_2_4 r59401 merged revision(s) 59161.
ActionsLike0