🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
3 messages
3 total messages Started by Subin Sun, 08 Nov 2026 00:10
Bug#997911: Not reproducible with latest lintian
#3736
Author: Subin
Date: Sun, 08 Nov 2026 00:10
13 lines
3161 bytes
Hi

I was triaging through lintian tagged bugs and came across this. I 
locally ran lintian (master branch from salsa) on nvidia-graphics-driver 
and this false positive is not showing up anymore even though 
debian/bug-script still has the following string:

     "<<<<<<<<<< $file >>>>>>>>>>"

UDD's lintian also doesn't show this false positive anymore: 
https://udd.debian.org/lintian/?packages=nvidia-graphics-drivers

So I believe this bug can be closed.
Bug#997911: Not reproducible with latest lintian
#3747
Author: Nilesh Patra
Date: Sun, 08 Nov 2026 07:40
58 lines
4764 bytes
On 08/11/26 4:49 am, Subin wrote:
> I was triaging through lintian tagged bugs and came across this. I 
> locally ran lintian (master branch from salsa) on nvidia-graphics-driver 
> and this false positive is not showing up anymore even though 
> debian/bug-script still has the following string:
> 
>      "<<<<<<<<<< $file >>>>>>>>>>"
> 
> UDD's lintian also doesn't show this false positive anymore: 
> https://udd.debian.org/lintian/?packages=nvidia-graphics-drivers
> 
> So I believe this bug can be closed.

Thank you so much for trying to help. However, the analysis is wrong. I checked
the code in question which has no fix for this since 2021.

What "fixed" it was a seemingly incorrect fix for #999756 in https://salsa.debian.org/lintian/lintian/-/commit/2bb5c6a905
which starts to ignore things after `exec`. Sure enough, the bug-script has an "exec >&3" line here

https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers/-/blob/550/debian/bug-script?ref_type=heads#L7

And hence the entire thing after that started to be ignored. If I make the following changes and run lintian again
I see the issue once again:

| $ git --no-pager diff
| diff --git a/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm b/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm
| index 024ea6a1f..ac66d68a2 100644
| --- a/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm
| +++ b/lib/Lintian/Check/Shell/NonPosix/BashCentric.pm
| @@ -203,8 +203,8 @@ sub check_bash_centric {
|         $stashed = $EMPTY;
| 
|         # see Bug#999756 and tclsh(1)
| -        last
| -          if $line =~ m{^ exec \s }x;
| +       # last
| +       #   if $line =~ m{^ exec \s }x;
| 
|          my $pointer = $item->pointer($position);
|
| $ bin/lintian /tmp/h/libcuda1_550.163.01-6_amd64.deb --display-info
| E: libcuda1: alien-tag binary-file-built-without-LFS-support [usr/share/lintian/overrides/libcuda1:2]
| I: libcuda1: bash-term-in-posix-shell '<<<' [usr/share/bug/libcuda1/script:126]
| I: libcuda1: bash-term-in-posix-shell '<<<' [usr/share/bug/libcuda1/script:134]

There is aflplusplus package for instance which does not have `exec` and output this false-positive diagnostic.

https://udd.debian.org/lintian/?email1=&email2=&email3=&packages=aflplusplus&ignpackages=&format=html&lt_error=on&lt_warning=on&lt_information=on&lintian_tag=#all

aflplusplus	5.03c-1 (forky sid)	afl++/5.03c-1	information	bash-term-in-posix-shell	8	'<<<' [usr/bin/afl-whatsup:226]

So the bug is still present. Patches to fix that are welcome.

As for the false diagnostic of skipping everything after `exec` which is too-simplistic and becomes wrong, I've opened an MR https://salsa.debian.org/lintian/lintian/-/merge_requests/829
to fix that.

Thanks again,
Nilesh
Bug#997911: Not reproducible with latest lintian
#3808
Author: Subin
Date: Sun, 08 Nov 2026 18:10
13 lines
3458 bytes
On 08/11/26 12:55 pm, Nilesh Patra wrote:
> 
> aflplusplus	5.03c-1 (forky sid)	afl++/5.03c-1	information	bash-term-in-posix-shell	8	'<<<' [usr/bin/afl-whatsup:226]
> 
> So the bug is still present. Patches to fix that are welcome.
> 

Thank you Nilesh for pointing in the right direction. I was able to 
reproduce it and make a patch: 
https://salsa.debian.org/lintian/lintian/-/merge_requests/830

Thank you!
Subin
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