[pcre-dev] [Bug 1503] PCRE Library Stack Overflow Vulnerabil…

Página superior
Eliminar este mensaje
Autor: Zoltan Herczeg
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 1503] PCRE Library Stack Overflow Vulnerability
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1503




--- Comment #2 from Zoltan Herczeg <hzmester@???> 2014-07-11 15:06:45 ---
This probably goes deeper.

re> /(((a\2)|(a)\g<-1>))*/BM

Memory allocation (code space): 59
------------------------------------------------------------------
  0  55 Bra
  3     Brazero
  4  48 CBra 1
  9  40 Once
 12  18 CBra 2
 17  10 CBra 3
 22     a
 24     \2
 27  10 Ket
 30  16 Alt
 33   7 CBra 4
 38     a
 40   7 Ket
 43  30 Recurse
 46  34 Ket
 49  40 Ket
 52  48 KetRmax
 55  55 Ket
 58     End
------------------------------------------------------------------


Recurse should be 33 not 30.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email