commit | 51eeb6ebc94d965768143c45e9f39b0a7998bdbd | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Sat May 21 15:21:38 2016 +0200 |
committer | Rich Felker <dalias@aerifal.cx> | Sun May 22 17:52:19 2016 -0400 |
tree | 43b335225c8a7ad9ff9aebcab51b3face81e3782 | |
parent | 63e3a1661f1fa5552e2023683617ce09fac3248b [diff] |
fix the use of uninitialized value in regcomp the num_submatches field of some ast nodes was not initialized in tre_add_tag_{left,right}, but was accessed later. this was a benign bug since the uninitialized values were never used (these values are created during tre_add_tags and copied around during tre_expand_ast where they are also used in computations, but nothing in the final tnfa depends on them).