Skip to content

Conversation

@bnoordhuis
Copy link
Contributor

Initialize the JSPropertyDescriptor before calling JS_GetOwnProperty because the latter doesn't fill in the former if the property isn't found.

Fixes: #1160

Initialize the JSPropertyDescriptor before calling JS_GetOwnProperty
because the latter doesn't fill in the former if the property isn't
found.

Fixes: quickjs-ng#1160
@bnoordhuis bnoordhuis merged commit fb496c3 into quickjs-ng:master Sep 26, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the fix1160 branch September 26, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Valgrind is not happy

2 participants