Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use union to convert between jerryx_arg_int_option_t and uintptr_t #2718

Conversation

akosthekiss
Copy link
Member

This fixes potential out-of-bounds reads in jerry-ext when dealing
with integer argument mappings.

Fixes #2713

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu

This fixes potential out-of-bounds reads in jerry-ext when dealing
with integer argument mappings.

Fixes jerryscript-project#2713

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
@akosthekiss akosthekiss added bug Undesired behaviour jerry-ext Related to the jerry-ext library labels Jan 18, 2019
Copy link
Contributor

@LaszloLango LaszloLango 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 (informal)

Copy link
Contributor

@robertsipka robertsipka left a comment

Choose a reason for hiding this comment

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

LGTM

@robertsipka robertsipka merged commit 67ef396 into jerryscript-project:master Jan 21, 2019
@akosthekiss akosthekiss deleted the fix-ext-arg-int-opt-info-conv branch January 21, 2019 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behaviour jerry-ext Related to the jerry-ext library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jerryscript-ext/arg.impl.h@106 has an out-of-bounds read
4 participants