mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: change asserts to checks in internal duk_def_prop_xxx() calls
|
|
desc: |-
|
|
There are a few assumptions in the duk_def_prop_xxx() internal calls,
|
|
such as an existing value never being an accessor, and array writes
|
|
having WEC attributes. Currently the code just asserts for them, so
|
|
that if an existing property is e.g. an accessor, major problems would
|
|
happen if the assumption were invalid in some corner case.
|
|
|
|
Since the assumptions are not obvious, it's safer to make the assertions
|
|
proper checks so that they'll be properly caught if some call site
|
|
violates them by accident.
|
|
type: :task
|
|
component: duk
|
|
release: v0.11
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
status: :closed
|
|
disposition: :fixed
|
|
creation_time: 2014-06-11 18:50:51.126399 Z
|
|
references: []
|
|
|
|
id: d36370672fc2bf342061b5db4ffa0a04bb39e018
|
|
log_events:
|
|
- - 2014-06-11 18:50:51.271365 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- created
|
|
- ""
|
|
- - 2014-06-11 19:15:47.665157 Z
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
- closed with disposition fixed
|
|
- ""
|
|
|