Skip to content

Lexer Hangs on Strings Containing $ #3

@ericevenchick

Description

@ericevenchick

This lexer seems to hang on the following code (from https://github.com/opencomputeproject/Rack-Manager/blob/e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a/Contrib-Inspur/openbmc/meta-phosphor/conf/distro/include/phosphor-defaults.inc#L242):

EXTRA_USERS_PARAMS_pn-obmc-phosphor-image = " \
  usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \
  "

I believe this has to do with the $ chars within the password hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions