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.
 
 
 
 
 
 

30 lines
1014 B

--- !ditz.rubyforge.org,2008-03-06/issue
title: add a bytecode limit check to the regexp compiler
desc: |-
The current regexp bytecode format limits valid bytecode to maximum length
of 0x7fffffffL, this is the case because signed jump offsets must be
representable using signed 32-bit values encoded into XUTF-8.
Current implementation does not prevent overly long bytecode from being
emitted. Add an input string maximum length check or prevent bytecode
from exceeding the maximum limit some other way (see XXX in the file header
of duk_regexp_compiler.c).
type: :task
component: duk
release:
reporter: Sami Vaarala <sami.vaarala@iki.fi>
status: :unstarted
disposition:
creation_time: 2014-07-09 22:37:33.685453 Z
references: []
id: 362c673b9079143853a2c2a338325575f78d63a3
log_events:
- - 2014-07-09 22:37:33.775728 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- created
- ""
- - 2014-07-24 13:10:13.587278 Z
- Sami Vaarala <sami.vaarala@iki.fi>
- unassigned from release v0.12
- ""