Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #88125 > unrolled thread

Bug#1108270: linux: uname -r contains regex control character '+'

Started byLuca Boccassi <bluca@debian.org>
First post2025-06-24 15:50 +0200
Last post2025-06-24 18:50 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1108270: linux: uname -r contains regex control character '+' Luca Boccassi <bluca@debian.org> - 2025-06-24 15:50 +0200
    Bug#1108270: linux: uname -r contains regex control character '+' Bastian Blank <waldi@debian.org> - 2025-06-24 18:50 +0200
    Processed: Re: Bug#1108270: linux: uname -r contains regex  control character '+' "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-24 18:50 +0200

#88125 — Bug#1108270: linux: uname -r contains regex control character '+'

FromLuca Boccassi <bluca@debian.org>
Date2025-06-24 15:50 +0200
SubjectBug#1108270: linux: uname -r contains regex control character '+'
Message-ID<L1cc9-cPq1-1@gated-at.bofh.it>
Source: linux
Version: 6.12.33-1

Dear Maintainer(s),

Since version 6.12.33-1 uname -r contains the regex control character
'+'. This means any existing script passing the output of $(uname -r)
to anything that can interpret it as a regex will start to fail.

e.g. on unstable where uname -r is 6.12.33+deb13-amd64:

$ [[ "My List Of Favourite Kernels: 6.1.31 3.2 2.6.31318231
6.12.27-amd64 6.12.33+deb13-amd64" =~ $(uname -r) ]]; echo $?
1

On testing where uname -r is 6.12.27-amd64:

$ [[ "My List Of Favourite Kernels: 6.1.31 3.2 2.6.31318231
6.12.27-amd64 6.12.33+deb13-amd64" =~ $(uname -r) ]]; echo $?

0

I can fix my autopkgtest scripts that started failing due to this, but
it seems to me it might affect more scripts out there, so filing a bug
so that there's something indexed and searchable.

[toc] | [next] | [standalone]


#88126

FromBastian Blank <waldi@debian.org>
Date2025-06-24 18:50 +0200
Message-ID<L1f0l-cRca-1@gated-at.bofh.it>
In reply to#88125
Control: tags -1 wontfix
Control: close -1

On Tue, Jun 24, 2025 at 02:45:38PM +0100, Luca Boccassi wrote:
> Since version 6.12.33-1 uname -r contains the regex control character
> '+'. This means any existing script passing the output of $(uname -r)
> to anything that can interpret it as a regex will start to fail.

It also contains the control character '.', multiple times.

> I can fix my autopkgtest scripts that started failing due to this, but
> it seems to me it might affect more scripts out there, so filing a bug
> so that there's something indexed and searchable.

Sure, still closing as wontfix, as we have no other characters left.

Bastian

-- 
Only a fool fights in a burning house.
		-- Kank the Klingon, "Day of the Dove", stardate unknown

[toc] | [prev] | [next] | [standalone]


#88127 — Processed: Re: Bug#1108270: linux: uname -r contains regex control character '+'

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-06-24 18:50 +0200
SubjectProcessed: Re: Bug#1108270: linux: uname -r contains regex control character '+'
Message-ID<L1f0l-cRca-9@gated-at.bofh.it>
In reply to#88125
Processing control commands:

> tags -1 wontfix
Bug #1108270 [src:linux] linux: uname -r contains regex control character '+'
Added tag(s) wontfix.
> close -1
Bug #1108270 [src:linux] linux: uname -r contains regex control character '+'
Marked Bug as done

-- 
1108270: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108270
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web