We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51bfe3d commit d5dd7e8Copy full SHA for d5dd7e8
jerry-core/vm/vm.c
@@ -2955,8 +2955,9 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */
2955
case VM_OC_PROP_PRE_DECR:
2956
case VM_OC_PROP_POST_INCR:
2957
case VM_OC_PROP_POST_DECR:
2958
- if (byte_code_start_p[-3] == CBC_EXT_OPCODE
2959
- && byte_code_start_p[-2] == CBC_EXT_PUSH_PRIVATE_PROP_LITERAL_REFERENCE)
+ if (JERRY_UNLIKELY (byte_code_start_p - 3 >= frame_ctx_p->byte_code_p
+ && byte_code_start_p[-3] == CBC_EXT_OPCODE
2960
+ && byte_code_start_p[-2] == CBC_EXT_PUSH_PRIVATE_PROP_LITERAL_REFERENCE))
2961
{
2962
if (opcode < CBC_PRE_INCR)
2963
0 commit comments