[Hamlib-developer] [Hamlib/Hamlib] af2244: fix(kenwood): validate K4 VFO query responses
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: dforsi <no...@gi...> - 2026-09-09 22:43:08
|
Branch: refs/heads/Hamlib-4.7 Home: https://github.com/Hamlib/Hamlib Commit: af22445f37eb7e12a48e34fb60bb64014519cb08 https://github.com/Hamlib/Hamlib/commit/af22445f37eb7e12a48e34fb60bb64014519cb08 Author: David Christle <dch...@us...> Date: 2026-09-10 (Thu, 10 Sep 2026) Changed paths: M rigs/kenwood/elecraft.c M tests/.gitignore M tests/Makefile.am A tests/testelecraftvfo.c Log Message: ----------- fix(kenwood): validate K4 VFO query responses Malformed FR, FT, or TQ replies left parse outputs uninitialized and could update cached VFO state while returning success. Reject non-binary replies with -RIG_EPROTO and add socket-backed K4 regressions that verify state remains unchanged on protocol errors. Use Winsock loopback TCP on Windows and Unix socketpair elsewhere so the same regression runs on every supported platform. Conflicts: tests/Makefile.am (cherry picked from commit ffe227a3bc7a47e0e0577ff0158345884b356364) Conflicts: tests/.gitignore tests/Makefile.am Commit: 6690467a595a8a237be95b6fd145c4a7d95a0b80 https://github.com/Hamlib/Hamlib/commit/6690467a595a8a237be95b6fd145c4a7d95a0b80 Author: David Christle <dch...@us...> Date: 2026-09-10 (Thu, 10 Sep 2026) Changed paths: M tests/testelecraftvfo.c Log Message: ----------- fix(tests): close K4 sockets portably Route the rig initialization failure path through the existing test socket helper so Windows uses closesocket() and POSIX systems use close(). (cherry picked from commit 85da9487703bd4dd038e65a55aa6abbc6ea1e14e) Commit: 5f0dcd8ed0aaa6a5823bc87f52d8d3fab32029e7 https://github.com/Hamlib/Hamlib/commit/5f0dcd8ed0aaa6a5823bc87f52d8d3fab32029e7 Author: dforsi <iu...@gm...> Date: 2026-09-10 (Thu, 10 Sep 2026) Changed paths: M rigs/kenwood/elecraft.c M tests/.gitignore M tests/Makefile.am A tests/testelecraftvfo.c Log Message: ----------- Merge pull request #2201 from dforsi/Hamlib-4.7 Hamlib 4.7 Compare: https://github.com/Hamlib/Hamlib/compare/ea3917aab0e5...5f0dcd8ed0aa To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |