Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Benjamin Drung
Mon, 23 Nov 2026 13:10
Bug#1029223: lintian: bash-term-in-posix-shell false positive, triggers on "function" in an embedded awk script
Author: Benjamin Drung
Date: Mon, 23 Nov 2026 13:10
Date: Mon, 23 Nov 2026 13:10
34 lines
2815 bytes
2815 bytes
On Thu, 19 Jan 2023 18:24:14 -0500 Daniel Kahn Gillmor
<dkg@fifthhorseman.net> 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads