[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability
From: |
Eli Zaretskii |
Subject: |
bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability |
Date: |
Sun, 27 Nov 2022 20:07:54 +0200 |
> Date: Sun, 27 Nov 2022 23:44:07 +0800
> From: lux <lx@shellcodes.org>
>
> On Sun, 27 Nov 2022 16:15:38 +0200
> Eli Zaretskii <eliz@gnu.org> wrote:
>
> > But something is wrong with the 2 new tests: they fail. I replaced
> > the "good" files with the ones I get on my system, but the test fails
> > on another system. Could you please look into the test failures and
> > find a fix?
>
> Hi, I think because the order of the tag data of the files generated by
> different OS environments is different.
>
> I sorted the file using the sort command, test ok.
>
> ctags_update: CTAGS.good_update ${infiles}
> head -n 100 CTAGS.good_update > CTAGS
> tail -n 100 CTAGS.good_update >> CTAGS
> ${RUN} ${CTAGS_PROG} -o CTAGS -u ${ARGS}
> diff -u --suppress-common-lines --width=80 <(sort
> CTAGS.good_update) <(sort CTAGS)
>
> cp crlf CTAGS
> ${RUN} ${CTAGS_PROG} -o CTAGS -u ${ARGS}
> diff -u --suppress-common-lines --width=80 <(sort
> CTAGS.good_crlf) <(sort CTAGS)
Thanks, I installed a variant of this using more portable commands.
And with that, I'm closing this bug.
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, (continued)
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, Eli Zaretskii, 2022/11/26
- Message not available
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, Eli Zaretskii, 2022/11/26
- Message not available
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, Eli Zaretskii, 2022/11/26
- Message not available
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, Eli Zaretskii, 2022/11/26
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, lux, 2022/11/26
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, lux, 2022/11/27
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, Eli Zaretskii, 2022/11/27
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability, Eli Zaretskii, 2022/11/27
- Message not available
- bug#59544: [PATCH] Fixed lib-src/etags.c command execute vulnerability,
Eli Zaretskii <=