[pcre-dev] [Bug 1615] Segfault in jit

Kezdőlap
Üzenet törlése
Szerző: Greg Hazel
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 1615] Segfault in jit
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #2 from Greg Hazel <ghazel@???> 2015-04-16 10:29:06 ---
The input buffer varies. The pattern is a 1300 word long list of
\b(word1|word2|etc)\b
The error valgrind gives is:

==10046== Conditional jump or move depends on uninitialised value(s)
==10046==    at 0x41EC11D: ???
==10046==    by 0x3ED: ???
==10046==    by 0x41AF09A: ???
==10046==  Uninitialised value was created by a stack allocation
==10046==    at 0x40FC71: myfunc (myfile.c:64)



Those stack frames are nonsense, but the allocation frame is real. I'll try
mallocing the region instead of using the stack.


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