diff options
author | JinWang An <jinwang.an@samsung.com> | 2023-06-21 14:44:57 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2023-06-21 14:44:57 +0900 |
commit | 51ef19aa0b9ccaf44c3765de265fa11d8b449bf4 (patch) | |
tree | 1e331127bde17fc531bc90b4bb8f5153a851333d /tests/incremental.at | |
parent | c24e431bf6532f6a0997a6a0ab6955fa61170978 (diff) | |
download | tar-tizen_6.0_base.tar.gz tar-tizen_6.0_base.tar.bz2 tar-tizen_6.0_base.zip |
[CVE-2009-5155] Diagnose ERE '()|\1'submit/tizen_6.0_base/20230622.061909accepted/tizen/6.0/base/tool/20230625.221419accepted/tizen/6.0/base/20230713.143149tizen_6.0_baseaccepted/tizen_6.0_base_toolaccepted/tizen_6.0_base
Problem reported by Hanno B?ck in: http://bugs.gnu.org/21513
* lib/regcomp.c (parse_reg_exp): While parsing alternatives, keep
track of the set of previously-completed subexpressions available
before the first alternative, and restore this set just before
parsing each subsequent alternative. This lets us diagnose the
invalid back-reference in the ERE '()|\1'.
Change-Id: I742345f92e1573b92cc7407cbeda44dbbf0a52cc
Signed-off-by: JinWang An <jinwang.an@samsung.com>
Diffstat (limited to 'tests/incremental.at')
0 files changed, 0 insertions, 0 deletions