Your message dated Wed, 13 Dec 2023 07:08:15 +0000
with message-id <[email protected]>
and subject line Bug#1014887: fixed in v4l-utils 1.26.1-2
has caused the Debian Bug report #1014887,
regarding /usr/bin/ir-ctl: Apparent line-buffer-length issue in the ir-ctl
--send operation.
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 [email protected]
immediately.)
--
1014887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: v4l-utils
Version: 1.20.0-2
Severity: important
File: /usr/bin/ir-ctl
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I'm building a remote IR controller for my Mitsubishi minisplit system,
based on a Raspberry Pi running Raspbian Bulldog. For testing, I've
been using ir-ctl to capture and replay control sequences.
This worked fine for the "turn on" sequence.
However, for "turn off", ir-ctl told me
./tmpoff.txt:1: error: expected integer, got `-'
ANALYSIS: The Mitsubishi protocol is an unusually long one -- complete
new desired state of the system, rather than just a button-press. It
appears that this is running into a line-length limit in ir-ctl
when reading the data file, resulting in truncation --
which, luckily, happened at a place where ir-ctl could notice that
this produced a syntax error (rather than in a place where the
truncation would have happened silently). Apparently the "turn on"
sequence is just sufficiently shorter to not encounter the bug.
WORKAROUND: If I edit the captured data to insert line breaks, rather
than having the entire IR sequence on a single line, the problem
vanishes and the IR command is transmitted successfully. This tends
to confirm that it's an input-buffer size limit.
SUGGESTIONS:
1) Alter code to tolerate longer lines in the input. Simply increasing
the input buffer size would be simplest (it appears to only be about
1kB now?), but the more elegant fix would be to recognize when a
readline did not reach the line break and perform the additional
read(s) and concatenations/reallocs needed to fetch the rest.
Less ideal solution: document the line length limit, and issue a
specific error message when it is exceeded, so the user knows to
apply the workaround.
2) For the future, consider changing syntax-error messages to indicate
not only which input line the error was found in, but at what column.
That would have helped me find the failure point and realize what was
going on.
-- System Information:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Architecture: armv6l
Kernel: Linux 5.15.32+
Kernel taint flags: TAINT_CRAP
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)
Versions of packages v4l-utils depends on:
ii libc6 2.31-13+rpt2+rpi1+deb11u3
ii libgcc-s1 10.2.1-6+rpi1
ii libstdc++6 10.2.1-6+rpi1
ii libudev1 247.3-7+rpi1
ii libv4l-0 1.20.0-2
ii libv4l2rds0 1.20.0-2
v4l-utils recommends no packages.
v4l-utils suggests no packages.
-- no debconf information
+3442 -1702 +489 -1228 +470 -1263 +437 -430 +436 -432 +444 -421 +443 -1280 +440
-426 +439 -457 +409 -1285 +435 -1292 +438 -428 +437 -1288 +444 -422 +442 -422
+442 -1284 +445 -1291 +434 -431 +429 -1286 +444 -1281 +439 -431 +464 -403 +441
-1284 +446 -431 +434 -420 +444 -1280 +441 -425 +440 -430 +436 -432 +444 -421
+444 -423 +442 -425 +440 -425 +441 -427 +439 -433 +433 -432 +443 -424 +440 -430
+444 -420 +435 -434 +441 -424 +441 -426 +439 -452 +434 -409 +435 -435 +440 -428
+449 -423 +435 -430 +444 -422 +442 -423 +443 -417 +440 -427 +438 -1285 +445
-1279 +441 -423 +441 -436 +430 -429 +444 -1279 +441 -426 +469 -401 +444 -1278
+442 -1281 +440 -427 +439 -431 +453 -416 +442 -423 +442 -1280 +462 -1271 +459
-410 +464 -1262 +438 -1287 +442 -431 +441 -422 +438 -425 +439 -425 +439 -426
+434 -426 +439 -429 +436 -433 +442 -1284 +436 -431 +444 -423 +453 -1270 +439
-428 +468 -1260 +440 -427 +437 -427 +437 -428 +469 -1258 +463 -410 +444 -427
+438 -424 +440 -425 +441 -426 +438 -426 +439 -425 +439 -428 +438 -430 +435 -432
+444 -423 +441 -425 +440 -430 +443 -434 +439 -425 +440 -424 +440 -426 +437 -430
+431 -429 +465 -404 +441 -429 +437 -428 +436 -428 +468 -404 +441 -433 +431 -425
+440 -430 +434 -432 +443 -423 +441 -426 +440 -428 +438 -427 +437 -429 +436 -433
+442 -427 +469 -400 +449 -417 +464 -415 +440 -427 +437 -427 +437 -429 +436 -434
+442 -430 +438 -421 +463 -406 +438 -426 +439 -431 +445 -433 +439 -422 +440
-1283 +437 -1290 +435 -425 +439 -425 +439 -428 +436 -1287 +463 -404 +450
+3442 -1702 +489 -1228 +470 -1263 +437 -430 +436 -432 +444 -421
+443 -1280 +440 -426 +439 -457 +409 -1285 +435 -1292 +438 -428
+437 -1288 +444 -422 +442 -422 +442 -1284 +445 -1291 +434 -431
+429 -1286 +444 -1281 +439 -431 +464 -403 +441 -1284 +446 -431
+434 -420 +444 -1280 +441 -425 +440 -430 +436 -432 +444 -421
+444 -423 +442 -425 +440 -425 +441 -427 +439 -433 +433 -432
+443 -424 +440 -430 +444 -420 +435 -434 +441 -424 +441 -426
+439 -452 +434 -409 +435 -435 +440 -428 +449 -423 +435 -430
+444 -422 +442 -423 +443 -417 +440 -427 +438 -1285 +445 -1279
+441 -423 +441 -436 +430 -429 +444 -1279 +441 -426 +469 -401
+444 -1278 +442 -1281 +440 -427 +439 -431 +453 -416 +442 -423
+442 -1280 +462 -1271 +459 -410 +464 -1262 +438 -1287 +442 -431
+441 -422 +438 -425 +439 -425 +439 -426 +434 -426 +439 -429 +436
-433 +442 -1284 +436 -431 +444 -423 +453 -1270 +439 -428 +468 -1260
+440 -427 +437 -427 +437 -428 +469 -1258 +463 -410 +444 -427 +438
-424 +440 -425 +441 -426 +438 -426 +439 -425 +439 -428 +438 -430
+435 -432 +444 -423 +441 -425 +440 -430 +443 -434 +439 -425
+440 -424 +440 -426 +437 -430 +431 -429 +465 -404 +441 -429
+437 -428 +436 -428 +468 -404 +441 -433 +431 -425 +440 -430
+434 -432 +443 -423 +441 -426 +440 -428 +438 -427 +437 -429
+436 -433 +442 -427 +469 -400 +449 -417 +464 -415 +440 -427
+437 -427 +437 -429 +436 -434 +442 -430 +438 -421 +463 -406
+438 -426 +439 -431 +445 -433 +439 -422 +440 -1283 +437 -1290
+435 -425 +439 -425 +439 -428 +436 -1287 +463 -404 +450
--- End Message ---
--- Begin Message ---
Source: v4l-utils
Source-Version: 1.26.1-2
Done: Gregor Jasny <[email protected]>
We believe that the bug you reported is fixed in the latest version of
v4l-utils, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gregor Jasny <[email protected]> (supplier of updated v4l-utils 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 12 Dec 2023 23:06:08 +0100
Source: v4l-utils
Architecture: source
Version: 1.26.1-2
Distribution: unstable
Urgency: medium
Maintainer: Gregor Jasny <[email protected]>
Changed-By: Gregor Jasny <[email protected]>
Closes: 1014887 1057247 1058284
Changes:
v4l-utils (1.26.1-2) unstable; urgency=medium
.
[ Chris Hofstaedtler ]
* Lookup udev install directory from udev.pc (Closes: #1057247)
.
[ Jeremy Sowden ]
* d/control: add missing dependencies to -dev packages (Closes: #1058284)
.
[ Gregor Jasny ]
* Import latest 1.26.1 upstream release (Closes: #1014887)
Checksums-Sha1:
4319a22c37471f41462d0c1de91f4cca7fccecfa 3238 v4l-utils_1.26.1-2.dsc
b2abb01e2522a65f1ed5f0e792ea0a6657fb161a 1192312 v4l-utils_1.26.1.orig.tar.xz
cc0d8b04e6daa2078d3de21cd65448f8a1c40094 833 v4l-utils_1.26.1.orig.tar.xz.asc
0dfcbfd444c8fb9853fb161cc756fac5b9077375 22784 v4l-utils_1.26.1-2.debian.tar.xz
2754ca85245108bc71732fc55d5a1c9f7fb1355e 17942
v4l-utils_1.26.1-2_arm64.buildinfo
Checksums-Sha256:
6bd4c7143c2cd50a8e5df4049504fa5416debf1401137b3dc12a00ed07693393 3238
v4l-utils_1.26.1-2.dsc
4a71608c0ef7df2931176989e6d32b445c0bdc1030a2376d929c8ca6e550ec4e 1192312
v4l-utils_1.26.1.orig.tar.xz
1b1360d428f2e8154dce5f454efb01a22c1b5bbdcf2572e658db0e64f8bfc5b7 833
v4l-utils_1.26.1.orig.tar.xz.asc
74b5510de71ba0fd1efe53f5d5fd7e6af367e399ed73eb76de9a61a1835c4ca1 22784
v4l-utils_1.26.1-2.debian.tar.xz
6e4e43b364b5fdf377b06c1c50c3171f6d09ab3b37f77b46c1cb44b0518e0543 17942
v4l-utils_1.26.1-2_arm64.buildinfo
Files:
68ed31dc87df8c82de4060552abfba43 3238 video optional v4l-utils_1.26.1-2.dsc
a3565a8ccc427dcce52845c2b8880c28 1192312 video optional
v4l-utils_1.26.1.orig.tar.xz
2e97852468bcfec7eb83747308a7fb0a 833 video optional
v4l-utils_1.26.1.orig.tar.xz.asc
99918cccbbbcf7762045154b1f41ffc4 22784 video optional
v4l-utils_1.26.1-2.debian.tar.xz
f5c396eb16973246a304ccf55b4d0ed3 17942 video optional
v4l-utils_1.26.1-2_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJKBAEBCAA0FiEEBdAWnCbkFZNBgSnfGZpk+t+1AP8FAmV5UcEWHGdqYXNueUBn
b29nbGVtYWlsLmNvbQAKCRAZmmT637UA//K3D/4gLnwPQi1k9PIXAh/2qUuMhnMl
36CVmYh2TpwCWyZTiCpFKoacYkvrQiH1GMgr/dgUz8EwRJk0/dxxgz2YUOuzl+s+
hZLs7yHN/zhtKtysb7tOSE8tVS3S2qftR2vZXX5D9KWLLUWSdfRICBU/Bf2Z0kmN
3eP3PT6Hocc0Nd/KOA+uXclBS3504mHvRn7MQLiu2S2dUVyh+tJGY52TqFyo2BsQ
euW2+E+9Irki6RRc4dpeB1WuFnf8JOBf8ExkL8PDmQGnIQCrKJA7ncEVCUmARsQ3
vaSMmgY3KM1qwRr4/0somy1HyGzxs158XcLMsrpZ/NcnE5o3ZoP/rywiU93s7XJA
UYHalmgArd/nSFDkd/UODlns4Dxvzo8GI5QJRCCniGTayYh+WmAj3sFWD+y939ZT
2r8QVrc2F0y6U91iNT1kiZFtmfurac4U1SR16ppY0Icm6haQ7sJgG0qKOCKPYz6R
WS8G10rsPGxqidAViQXs4iyEJKqymWnhtgDBY6/KuPM6q57lQAQrmZ3kpzUox+6n
e99ksPKl35iRSgRHfAsVV4L5ERGn9CAqpRwMVqCo3Jekuj6tMGF99Zca5eOwHp4s
jKZR+fHvVJ2KLxANR5ImD3+sUeSDSR5VKAHlPtkwuRROnm4hiNAzmGYZF2+dixhS
vc/dFOwoI/JfG3SRfw==
=3No6
-----END PGP SIGNATURE-----
--- End Message ---