Skip to content

Conversation

@galpeter
Copy link
Contributor

The regexp flag should be correctly referenced and released
if an existing regexp like object is used for constructing a new one.

Fixes: #3760

@galpeter galpeter added the bug Undesired behaviour label May 19, 2020
@galpeter galpeter requested a review from dbatyai May 19, 2020 14:47
The regexp flag should be correctly referenced and released
if an existing regexp like object is used for constructing a new one.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
Copy link
Member

@dbatyai dbatyai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@rerobika rerobika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rerobika rerobika merged commit 87b1d1e into jerryscript-project:master May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Undesired behaviour

Projects

None yet

Development

Successfully merging this pull request may close these issues.

heap-use-after-free in ecma_regexp_split_helper

3 participants