On Thu, 19 Jan 2023 18:24:14 -0500 Daniel Kahn Gillmor
<[email protected]> wrote:
> Package: lintian
> Version: 2.116.0
> Control: affects -1 + libreswan
>
> Lintian, when reviewing libreswan 4.9-1, reports:
>
> I: libreswan: bash-term-in-posix-shell 'function cool('
[usr/libexec/ipsec/_secretcensor:31]
>
> But in fact the code in question is:
>
> ------
> awk ' function cool(hot, q, cooled, run) {
> # warning: may destroy input line!
> q = "'"'"'" # single quote
> if (hot ~ q)
> ------
>
> That is, the code is not a bashism, but rather an input to awk.
>
> This is a false positive.
The same false positive for the embedded awk script:
I: kbd: bash-term-in-posix-shell 'function msg(' [usr/bin/mk_modmap:372]
--
Benjamin Drung
Debian & Ubuntu Developer