Non deterministic infinite loops in find_recursive, 1:8.31-2ubuntu2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcre3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Pcre library overflows in:
in (pcre_compile.
in (pcre_compile.
This array is initialized using define OP_LENGTHS in (pcre_internal.
pcre_tables.
Executing a test, matching a regullar expression, sometimes, it enters an infinit loop, in find_recurse.
Due to return value of PRIV(OP_lengths)[c] == 0, having c outside the size of the array.
I'll further add a simple application to reproduce.
Can, any one familliar with pcre3 library clarify if this overflow is a real issue !?
Thanks!