Your message dated Tue, 12 Dec 2023 22:59:41 +0000
with message-id <[email protected]>
and subject line Bug#1014887: fixed in v4l-utils 1.26.1-1
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-1
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-1
Distribution: experimental
Urgency: medium
Maintainer: Gregor Jasny <[email protected]>
Changed-By: Gregor Jasny <[email protected]>
Closes: 1014887 1057247 1058284
Changes:
 v4l-utils (1.26.1-1) experimental; 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:
 e0d0376588a2052f9ac2de84a53094fc23965c3a 3238 v4l-utils_1.26.1-1.dsc
 b2abb01e2522a65f1ed5f0e792ea0a6657fb161a 1192312 v4l-utils_1.26.1.orig.tar.xz
 cc0d8b04e6daa2078d3de21cd65448f8a1c40094 833 v4l-utils_1.26.1.orig.tar.xz.asc
 9c6ccee4668d6ae9c33fd64da04b134f1f203038 22792 v4l-utils_1.26.1-1.debian.tar.xz
 a974159c0b46d4876a4b5485033bc15e1d05fac6 17946 
v4l-utils_1.26.1-1_arm64.buildinfo
Checksums-Sha256:
 01b904fd1a952b9522da1256c11386f15e1850b524454dfedc6d5b3842e1f9ef 3238 
v4l-utils_1.26.1-1.dsc
 4a71608c0ef7df2931176989e6d32b445c0bdc1030a2376d929c8ca6e550ec4e 1192312 
v4l-utils_1.26.1.orig.tar.xz
 1b1360d428f2e8154dce5f454efb01a22c1b5bbdcf2572e658db0e64f8bfc5b7 833 
v4l-utils_1.26.1.orig.tar.xz.asc
 f1b6a968aecb49a07ecaf2b307e7e507058005d6f2162973299db9a2e2a46443 22792 
v4l-utils_1.26.1-1.debian.tar.xz
 ba12b2e78600662ca9a6d6a947811dbb77b4ac7ab2fe74dee132e40da3203bb6 17946 
v4l-utils_1.26.1-1_arm64.buildinfo
Files:
 f01a95d5db36e69931ff381611d5a62d 3238 video optional v4l-utils_1.26.1-1.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
 5ea1deb24372384d0d39e89280ff4234 22792 video optional 
v4l-utils_1.26.1-1.debian.tar.xz
 604c94c86a26176512db54a21785ca42 17946 video optional 
v4l-utils_1.26.1-1_arm64.buildinfo

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

iQJKBAEBCAA0FiEEBdAWnCbkFZNBgSnfGZpk+t+1AP8FAmV42q8WHGdqYXNueUBn
b29nbGVtYWlsLmNvbQAKCRAZmmT637UA/3ZjEADOmaYLiefsWFwpaI/YqA6e8uoi
AH4MhHmlnjUh0wfqCBET2PZzVumzhigDBoXIlzqAwPNyIFqb2/83S1V48i4EBRzu
la0/KY6/ZGWueYPLqyZn9B1NBwIIzHtDOrYH1VMAAGvmPEi9nTb195BEbRA1DptJ
z/CeOq2MuE/lHZvUdIKeX8AK/4cr6F9lLpl0WhSS4YV6k8T7lyPcjYsJSbwZRW/H
NSPDoif6G642+VZLz854WahUqH0WgsEB9EXCtUnb42c9qGcRT4PKoIs6mFAFUtYf
0os+vVP49gvdof+rkPufba/EgnqT3bbAi3kkPqQCyvXkr9p0Vkv+2Xn2CP4F5dwl
OJkW59cXAc1VLdVhKcZmwoKd78ZZKkP9oBjFMNEXD8nQSTmpT48TN0vID1/pPoIH
QoJD/89OjqGlUAuBk2bHktvUC+ySQL8yqbXMrZXSq7tGApfcuGvqSIOHJLCoSA18
4RS0n7DFcz6LREhkor7lRz1lh81qk2WEHT4q9+v1428Tuw+rdIgzGRK4Rn81/Itc
ea/p2k/+ZxoghAoHA4bpY2OUHwh069Ng0ORre2luSuqIcWt4J/v7t+l07y+NXNio
7wKcOMea0n7xVM8hTLx9Ssx/CdCVZeRve0nMAbFgrJamOkQ9akqnc5mTMkpDhxRH
WJVliBn4slRV6YYm/w==
=mma0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to