Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

1.2.28死循环bug(不知道之前有没有) #1074

Open
@wangread-git

Description

@wangread-git

入口
DefaultJSONParser(final Object input, final JSONLexer lexer, final ParserConfig config)构造函数
条件
输入的字符串以"//"开始
结果
抛出java.lang.StringIndexOutOfBoundsException异常
死循环位置
JSONLexerBase.skipComment
if (ch == '/') { for (;;) { next(); if (ch == '\n') { next(); return; } } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions