Hi. Error message: Code should not be reached 'Unhandled option' at src/fsckd/fsckd.c:643, function parse_argv(). Aborting. Aborted To reproduce this bug we just need to run command "systemd-fsckd -v". In normal way it must finish with "invalid option" error. Technical description: Program systemd-fsckd call function parse_argv(file fsckd.c:610). In « while ((c = getopt_long(argc, argv, "h v ", options, NULL)) >= 0)» (file fsckd . c : 628 ) when we send "-v" program will received "Aborting" System information: Linux debian 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07 ) x86_64 GNU/Linux libc-2.31.so CWE identifier for this bug: CWE- 617 : Reachable Assertion Way to fix this bug: Replace "hv" with "h" in «while ((c = getopt_long(argc, argv, "hv", options, NULL)) >= 0)» (file fsckd . c : 628 ) Regards, Shahov Erik
Hello, Bug #1009032 in systemd reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/systemd-team/systemd/-/commit/bf1311273a3718f4bd94ca2b3d2adf706224d28b ------------------------------------------------------------------------ Fix parsing of command line options in fsckd Closes: #1009032 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1009032
We believe that the bug you reported is fixed in the latest version of
systemd, 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 1009032@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated systemd 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 03 Jun 2022 19:37:06 +0200
Source: systemd
Architecture: source
Version: 251.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Closes: 993292 1009032 1012155
Changes:
systemd (251.2-1) unstable; urgency=medium
.
[ Michael Biebl ]
* New upstream version 251.2
- logind: do not print wall messages to local pseudoterminals
(Closes: #1012155)
* Rebase patches
* Fix parsing of command line options in fsckd (Closes: #1009032)
* Do not require a valid version when parsing sd-boot loader entries
(Closes: #993292)
* Add dpkg file trigger for systemd-binfmt to update binfmt registrations
* Use a single NEWS file shipped in the main systemd package
.
[ Luca Boccassi ]
* autopkgtest: add cryptsetup-initramfs for upstream suite.
Needed for https://github.com/systemd/systemd/pull/23517
Checksums-Sha1:
89a774668cf0cbfca412935bb0337408e9448052 5721 systemd_251.2-1.dsc
9b2cb81138ce2a347ecbeebb54124a23a78264a4 11434645 systemd_251.2.orig.tar.gz
dcff816f0cb6d77091c56468143af90efe4d1911 163340 systemd_251.2-1.debian.tar.xz
ab9f43c020873fcac0e29c3df4c0e10b310e0e9f 10450 systemd_251.2-1_source.buildinfo
Checksums-Sha256:
e0f2f80df433335d72f9260b860d3312ff7bdbdfd628e292170ab9a905c1825b 5721 systemd_251.2-1.dsc
5b371e824fe3e3128f2338b8db8cd37171f8e249eea88077eea468f73d833545 11434645 systemd_251.2.orig.tar.gz
2723048c97d4b1e013279c620a13b1f1503cf4998bf20eaa2b9ef89781220510 163340 systemd_251.2-1.debian.tar.xz
9eb376eb8b87e5c3f80992e4bf9ed30a3a588adf30e0a0a5548fabbb7cb7ddca 10450 systemd_251.2-1_source.buildinfo
Files:
09a1fa2da1c3cddff003e4c9cc1ba3bc 5721 admin optional systemd_251.2-1.dsc
b5cc5a46e80ab3aa25f8e15f763b05fa 11434645 admin optional systemd_251.2.orig.tar.gz
46aedbe4bb32ecd0481cbcfbefcaba67 163340 admin optional systemd_251.2-1.debian.tar.xz
8bfecd17b3b05aacc4668a6932c4cdf3 10450 admin optional systemd_251.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmKaeBcACgkQauHfDWCP
ItzXvA/+NuccHF9BaEM+z2+77noh3h+8j/xkI927r6ZTrLqZGlK2Itwvx+CM+di6
GRER15lp81+8HRUBF7gPDnUj9W6U3RcaeKg20DFygXDI7eCP0RjfzRz4JlhselvT
s4jjITDjaGAb6fZBnFSXiNHWFOjot7j+OrV0Bhi4H3qQNRrvneuSFjnlxCCmcPiQ
UZ7CZCdPYSVlnCitH5HbQQwvwls8neGCPOUqxO2qW1AhMl9eG6kaz7ahZzVwzYEh
rzVW1n8v96NaORjYWHXaWHYDGlfn2TdDrCX6rJKaUI78JCqX2br7MFbAwL+mgXpa
O1APrKJBi6PZK0GoDFJT1NsMk3IMV37Jdbi4Do193X4RayWrP+puTit+ecKhZRPu
2x8bZ3q/0iNoBKld8ZtMbJ11lfQd6Zv10eJQQnJkm6BiLi99CRWK3/1uKtP4j+HA
0ZMUAGuJDr9uG9eXCqQBHipi4PO4/+wjlEe8GzyPr1S9WIcfFxuoJQ+GuoN3tvDs
uyf2SbcdHT9O04vVbhv58NMTJk+gw43grfAs8qJ/ZqL3oOkJ1OYjmotCKh5NqGiw
5KhJZzVwTF8HOyStpSlImzUmHHIE3yw9JHeLV/CsJUqWZipi73+R77hpCr0L0MIw
y0huVcZfQTAefojkFoXvPyC5x8Z8O+6T13ev5iieZ4RR2nRUiao=
=CU0B
-----END PGP SIGNATURE-----