summaryrefslogtreecommitdiff
path: root/transient_heap.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-03-18 18:48:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-03-19 07:15:55 +0900
commitf748b911c9157a0bb86f38280ddfba72a55049b6 (patch)
tree0ce6ff2071b3708ca52401bcdc56c4ea13effb32 /transient_heap.h
parentcc281bd7ace7538527eea98a326d79c91ff48fad (diff)
downloadruby-f748b911c9157a0bb86f38280ddfba72a55049b6.tar.gz
Fix infinite loop at illegal sequence [Bug #17729]
As mblen returns -1 on failure, skip the first byte and try the succeeding bytes in that case. Close https://github.com/ruby/ruby/pull/4281
Diffstat (limited to 'transient_heap.h')
0 files changed, 0 insertions, 0 deletions