Back to bug 715295

Who When What Removed Added
Jaroslav Škarvada 2011-06-22 13:48:59 UTC Status NEW ASSIGNED
Jaroslav Škarvada 2012-02-28 12:57:30 UTC Keywords Patch
Ondrej Vasik 2012-06-28 09:11:10 UTC Blocks 836160
Ondrej Vasik 2013-04-26 12:41:00 UTC Blocks 947782
Jaroslav Škarvada 2013-06-03 14:46:50 UTC Status ASSIGNED MODIFIED
Fixed In Version grep-2.6.3-4.el6
Doc Text Cause:
For some regular expressions DFA analysis can insert up to double "positions" than dfa->nleaves.

Consequence:
Not enough room to insert all "positions", crash for some REs.

Fix:
Allocate space for twice as many positions as there are leaves.

Result:
Enough space, no crash.
Jaroslav Škarvada 2013-06-03 15:52:43 UTC Doc Text Cause:
For some regular expressions DFA analysis can insert up to double "positions" than dfa->nleaves.

Consequence:
Not enough room to insert all "positions", crash for some REs.

Fix:
Allocate space for twice as many positions as there are leaves.

Result:
Enough space, no crash.
Cause:
For some regular expressions DFA analysis can insert up to double "positions" than there are leaves.

Consequence:
There are not enough room to insert all the positions which may lead to crash for some REs.

Fix:
Space allocation for twice as many positions as there are leaves.

Result:
Enough space, no crash.
errata-xmlrpc 2013-06-03 16:16:04 UTC Status MODIFIED ON_QA
Jan Kepler 2013-06-04 08:34:02 UTC CC jkejda
QA Contact qe-baseos-apps jkejda
errata-xmlrpc 2013-06-25 07:13:06 UTC Status ON_QA VERIFIED
errata-xmlrpc 2013-06-25 12:04:15 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2013-06-25 14:18:16 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2013-06-25 10:18:16 UTC
Ondrej Vasik 2014-01-30 09:21:24 UTC Blocks 947782

Back to bug 715295