summaryrefslogtreecommitdiff
path: root/lib/getdelim.c
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2021-03-09 14:53:57 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-17 16:38:05 +0900
commitcd11978be965bd754e9c5fb2875238ee2b6fb896 (patch)
tree938413b835ce4bc7353170053ea636ea64f82218 /lib/getdelim.c
parentc24e431bf6532f6a0997a6a0ab6955fa61170978 (diff)
downloadtar-cd11978be965bd754e9c5fb2875238ee2b6fb896.tar.gz
tar-cd11978be965bd754e9c5fb2875238ee2b6fb896.tar.bz2
tar-cd11978be965bd754e9c5fb2875238ee2b6fb896.zip
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: I18a2ec367b04a69d8429e92a1b4784b6d7692832 Signed-off-by: JinWang An <jinwang.an@samsung.com>
Diffstat (limited to 'lib/getdelim.c')
0 files changed, 0 insertions, 0 deletions