summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-03-14 13:14:12 +0100
committerJo-Philipp Wich <jo@mein.io>2022-03-14 13:16:11 +0100
commitc402551277239098e2da98e223ddd67d061ae2a7 (patch)
treed85e903695619bbee91e341b04da16880128fd4f /lib
parent3d202b973bfc50dd5b91f111a13219fa69ca45e6 (diff)
vm: fix crash on object literals with non-string computed properties
When executing an object literal declaration using non-string computed property name values, the VM crashed caused by an attempt to use a NULL pointer (result of ucv_string_get() on a non-string value) as hash table key. Fix this issue by using the `ucv_key_set()` infrastructure which deals with the implicit stringification of non-string key values. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions