[Hamlib-developer] [Hamlib/Hamlib] ffe227: 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 21:56:35
|
Branch: refs/heads/master Home: https://github.com/Hamlib/Hamlib Commit: ffe227a3bc7a47e0e0577ff0158345884b356364 https://github.com/Hamlib/Hamlib/commit/ffe227a3bc7a47e0e0577ff0158345884b356364 Author: David Christle <dch...@us...> Date: 2026-09-09 (Wed, 09 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 Commit: 85da9487703bd4dd038e65a55aa6abbc6ea1e14e https://github.com/Hamlib/Hamlib/commit/85da9487703bd4dd038e65a55aa6abbc6ea1e14e Author: David Christle <dch...@us...> Date: 2026-09-09 (Wed, 09 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(). Commit: cb275c6b473dbebb499f33eecc2c1cf0f9560569 https://github.com/Hamlib/Hamlib/commit/cb275c6b473dbebb499f33eecc2c1cf0f9560569 Author: dforsi <iu...@gm...> Date: 2026-09-09 (Wed, 09 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 #2139 from dchristle/fix/k4-vfo-response-validation fix(kenwood): validate K4 VFO query responses Compare: https://github.com/Hamlib/Hamlib/compare/38f22f74899d...cb275c6b473d To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |