[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: about shell scripts having X>&Y in place of X&>Y



Sorry but the title of my message is wrong: s/having/that should have/
So stupid to create bad noise in the message archives.
Thanks Bart Martens!

ps: more MR or issues have been submitted upstream (sup-mail, plptools, vice)


Le mar. 28 févr. 2023 à 15:51, Patrice Duroux
<patrice.duroux@gmail.com> a écrit :
>
> Hi,
>
> Following the recent case of #1032122 (chkrootkit: bad redirection
> creating file '1'?) and previously #1030120 (ipmiutil: cron script is
> creating file /root/1), I tried using Debian CodeSearch to look for
> other possible wrong cases like those and here is for instance a list
> of candidates to check:
> https://codesearch.debian.net/search?q=%5B12%5D%26%3E%5B12%5D&literal=0
> (including surprising cases related to linux_6.1.12)
>
> So what do I do next? Check each case and for each true one, fill a bug?
> Are there tools to check shell scripts that could be used to
> detect/prevent/notify on this?
>
> But moreover using the CodeSearch form, it is not easy using the literal search.
> For instance 2&>1 gives some result whereas &>1 does not. Is there a
> bug or does such a query go beyond some limit?
>
> Regards,
> Patrice


Reply to: