Your message dated Sun, 03 Dec 2023 14:38:58 +0000
with message-id <e1r9ncy-00883y...@fasolo.debian.org>
and subject line Bug#1050290: fixed in glibc 2.37-13
has caused the Debian Bug report #1050290,
regarding glibc: Harmless bug in tcsetattr() handling of CREAD, CSIZE, PARENB 
bits
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1050290: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050290
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: glibc
Severity: minor

Dear Maintainer,

I believe that the "any/local-tcsetaddr.diff" (sic) patch applied to the glibc
sources contains a probably unmanifestible bug in the checking of c_cflag
changes other than the PARENB, CREAD, and CSIZE bits here:

+      else if ((k_termios_old.c_cflag | (PARENB & CREAD & CSIZE)) !=
+              (k_termios.c_cflag | (PARENB & CREAD & CSIZE)))
+       {
+         /* Some other c_cflag setting was successfully changed, which
+            means we should not return an error. */
+         __set_errno (save);
+         retval = 0;
+       }

I believe the (PARENB & CREAD & CSIZE) subexpressions (which evaluate to 0)
should be (PARENB | CREAD | CSIZE).

This bug should be harmless as long as the TTY device either handles changes to
the PARENB, CREAD, and CSIZE settings, or always sets them to consistently
fixed values.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (920, 'testing'), (910, 'unstable'), (820, 'testing'), (810, 
'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-debug'), (500, 'unstable'), (500, 'stable'), (120, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 6.4.0-2-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.37-13
Done: Aurelien Jarno <aure...@debian.org>

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1050...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Aurelien Jarno <aure...@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 03 Dec 2023 14:23:52 +0100
Source: glibc
Architecture: source
Version: 2.37-13
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aure...@debian.org>
Closes: 1050290 1052267 1053717 1056957
Changes:
 glibc (2.37-13) unstable; urgency=medium
 .
   [ Aurelien Jarno ]
   * debian/rules.d/control.mk: enable build on loong64.  Closes: #1053717.
   * debian/patches/git-updates.diff: update from upstream stable branch.
   * debian/patches/any/local-tcsetaddr.diff: fix a thinko in handling of
     CREAD, CSIZE, PARENB bits in tcsetaddr(). Thanks to Ian Abbott for the
     hint.  Closes: #1050290.
   * Update Swedish debconf translation, by Martin Bagge.  Closes: #1056957.
   * debian/local/manpages/getconf.1: fix issues reported py mandoc.  Closes:
     #1052267.
 .
   [ Samuel Thibault ]
   * debian/patches/hurd-i386/git-statfs_f_ffree.patch: Add missing f_ffree
     conversion.
   * debian/patches/hurd-i386/git-send_interrupt.diff: Fix spurious send
     interrupts.
   * debian/patches/hurd-i386/git-exec-intr.diff: Fix "invalid destination"
     errors during ghc builds.
   * debian/patches/hurd-i386/git-ioctls-bsd.diff: Fix missing BSD macros after
     including termios.h then ioctl.h
   * debian/patches/hurd-i386/git-dtable_reauth.diff: Fix restarting
     reauth_dtable on signal.
Checksums-Sha1:
 c2bebe4e0cfc2d8a60ad8b9fe03599c229bc1683 9043 glibc_2.37-13.dsc
 ace61d05d8f294530c615e60337567ffb27de461 408804 glibc_2.37-13.debian.tar.xz
 9492803e9ed73ac50e2d2c77a63e37a8ab5cfdb6 9909 glibc_2.37-13_source.buildinfo
Checksums-Sha256:
 903db33a92ae107fe8565374da07faad9a2a952b974b81427bd99d9e0b4cd3f2 9043 
glibc_2.37-13.dsc
 c7197986f04c0ddd89256090d11b98a889d1cae8defd0ff71ef084eb2da096fc 408804 
glibc_2.37-13.debian.tar.xz
 aa76f50abac2eddc12fb42cfed1bebb0f29aad2cdbfcfc1ca7de4da1886e444b 9909 
glibc_2.37-13_source.buildinfo
Files:
 cdd4b71e6bc2eef96a62748197e656cc 9043 libs required glibc_2.37-13.dsc
 bd58abb5ff9a7cf23b7024a6b4c906cb 408804 libs required 
glibc_2.37-13.debian.tar.xz
 6e679486fbefd8d4e9aca1fe3d50f1db 9909 libs required 
glibc_2.37-13_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmVsgg8ACgkQE4jA+Jno
M2vQZhAAgJBWwr0yEAfeYKW8+SH8mzjd9Z14pHNIy7iSVEbBPebyASWHZXnZRixv
fZPDl7K78CDiKWy1mC+AhRKgQZ2tCTdiWnnR/slxxFwTcC27fYzN8YiI1VNRfspi
1m6uA/qAqb4V/LeLmqUBI6FvaU4BeMNeqZQx/nyrUtkoDIX8eVmW6DtVYxlVpb14
hKfX9SQwSOHuKrFxI/WQyfFgmMJ2fqO1sWg4dgmHGDpH+eDtJ+yt42+orsjFNUCX
f1RPUXTJOunOf10Q2TcSSq6MLkL/c7E1XPcaAOTmdseE+V96wfyMkV2xphCga0Zj
PetN8E6cuPm1fus8BeyY1b4SgQiEd4E6PVLZLGM+rWsyZ8CzJr6JLgflZ3WUpbZ3
GdK7AzrdTnXoBhPgxEBcmw37wqXROH71qPDRJWbo+iR9Xk9CCHSWA0w0/QehfKDk
c9Vgdx4KL+D1oumSjEAwbXzRcLn9zXQhuyl1kl05UpEsZx9YY3y2QkrhKwcaoabw
2zpbwLqeT4RE10TCIWQKYW35XVGZnhsC390TnrtHMouk0XUKnqCgaVpfYZ3quMEs
th53r1Yfx84AmPWkQAxaDjTrbHKtVkObnIBfRldgpYuz7Bfqmz3UbyNbsKYbTQ1j
pQMHctVciaLnYqfkB0ly2bKDb5Z6pwqDhmrypPGgPz3WBrwcBxk=
=wXkS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to