diff mbox series

[meta-oe,05/14] libmodbus: upgrade 3.1.11 -> 3.1.12

Message ID 20260309100630.404637-5-andrej.kozemcak@siemens.com
State New
Headers show
Series [meta-oe,01/14] asio: upgrade 1.30.2 -> 1.36.0 | expand

Commit Message

Andrej Kozemcak March 9, 2026, 10:06 a.m. UTC
Changelog:
  https://github.com/stephane/libmodbus/releases/tag/v3.1.12

Changes:
- Fix FD_SET overflow when socket fd >= FD_SETSIZE.
- Check dest pointer not null and nb in read functions.
- NULL check for src and nb < 1 validation in write functions.
- modbus_reply: don't compute address for FC 0x07/0x11.
- Use O_NONBLOCK instead of deprecated O_NDELAY
- Explicit cast for Coverity CID 416366.
- Document required buffer size of modbus_receive.
- Document macros for error codes corresponding to Modbus exceptions
- Fix example of modbus_rtu_set_serial_mode
- Test filesystem provides symlink in autogen.sh
- Sync API signatures with the documentation.
- Many documentation fixes and typo corrections.
- Add coverage target and helper script.

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
---
 .../libmodbus/{libmodbus_3.1.11.bb => libmodbus_3.1.12.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/libmodbus/{libmodbus_3.1.11.bb => libmodbus_3.1.12.bb} (92%)

Comments

Ankur Tyagi March 9, 2026, 6:45 p.m. UTC | #1
On Mon, Mar 9, 2026 at 11:06 PM Andrej Kozemcak via
lists.openembedded.org
<andrej.kozemcak=siemens.com@lists.openembedded.org> wrote:
>
> Changelog:
>   https://github.com/stephane/libmodbus/releases/tag/v3.1.12
>
> Changes:
> - Fix FD_SET overflow when socket fd >= FD_SETSIZE.
> - Check dest pointer not null and nb in read functions.
> - NULL check for src and nb < 1 validation in write functions.
> - modbus_reply: don't compute address for FC 0x07/0x11.
> - Use O_NONBLOCK instead of deprecated O_NDELAY
> - Explicit cast for Coverity CID 416366.
> - Document required buffer size of modbus_receive.
> - Document macros for error codes corresponding to Modbus exceptions
> - Fix example of modbus_rtu_set_serial_mode
> - Test filesystem provides symlink in autogen.sh
> - Sync API signatures with the documentation.
> - Many documentation fixes and typo corrections.
> - Add coverage target and helper script.
>
> Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
> ---
>  .../libmodbus/{libmodbus_3.1.11.bb => libmodbus_3.1.12.bb}      | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-oe/recipes-extended/libmodbus/{libmodbus_3.1.11.bb => libmodbus_3.1.12.bb} (92%)
>
> diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.12.bb
> similarity index 92%
> rename from meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb
> rename to meta-oe/recipes-extended/libmodbus/libmodbus_3.1.12.bb
> index ffbb3a8c8e..06a4049b31 100644
> --- a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb
> +++ b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.12.bb
> @@ -7,7 +7,7 @@ LICENSE = "LGPL-2.1-or-later"
>  LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c"
>
>  SRC_URI = "git://github.com/stephane/libmodbus;branch=master;protocol=https"

can please also include tag=v${PV} in the SRC_URI

> -SRCREV = "5190e5e141780ae481f24be16d7b39a5f3ad8f8f"
> +SRCREV = "9af6c16074df566551bca0a7c37443e48f216289"
>
>
>  inherit autotools pkgconfig
> --
> 2.47.3
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#124977): https://lists.openembedded.org/g/openembedded-devel/message/124977
> Mute This Topic: https://lists.openembedded.org/mt/118218622/3619737
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ankur.tyagi85@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.12.bb
similarity index 92%
rename from meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb
rename to meta-oe/recipes-extended/libmodbus/libmodbus_3.1.12.bb
index ffbb3a8c8e..06a4049b31 100644
--- a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb
+++ b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.12.bb
@@ -7,7 +7,7 @@  LICENSE = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = "git://github.com/stephane/libmodbus;branch=master;protocol=https"
-SRCREV = "5190e5e141780ae481f24be16d7b39a5f3ad8f8f"
+SRCREV = "9af6c16074df566551bca0a7c37443e48f216289"
 
 
 inherit autotools pkgconfig