| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: libmodbus5 | Distribution: openSUSE Tumbleweed |
| Version: 3.2.0 | Vendor: openSUSE |
| Release: 1.2 | Build date: Thu Jul 2 12:40:04 2026 |
| Group: System/Libraries | Build host: reproducible |
| Size: 115489 | Source RPM: libmodbus-3.2.0-1.2.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://www.libmodbus.org/ | |
| Summary: Modbus Library | |
libmodbus is a free software library to send/receive data with a device which respects the Modbus protocol. This library can use a serial port or an Ethernet connection. The functions included in the library have been derived from the Modicon Modbus Protocol Reference Guide which can be obtained from Schneider.
LGPL-2.1-or-later
* Thu Jul 02 2026 Martin Hauke <mardnh@gmx.de>
- Update to version 3.2.0
* Add modbus_proxy() to bridge two Modbus backends.
* Add termios2 support to allow custom baud rates (RTU).
* Return an exception response for READ EXCEPTION STATUS (0x07).
* Use EMBXILVAL instead of EMBMDATA for illegal data value
errors.
* modbus_reply: reject NULL req and mb_mapping arguments..
* modbus_reply: validate request length before reading
per-function fields.
* Fix signed integer overflow in modbus_get_float_*()
* Fix signed integer overflow in the MODBUS_GET_INT*_FROM_INT*
macros;
* MODBUS_GET_INT16_FROM_INT8() now returns a signed int16_t in
every context.
* Fix strict aliasing violation in modbus_set_float_*() by using
memcpy.
* modbus-rtu: don't use O_EXCL when opening the device (#760).
* Check if ai_list is null before freeing it (#831).
* Respect user-provided CFLAGS (closes #836).
* Fix test to use ctx instead of invalid_ctx (closes #791, #792).
* Update documentation of float functions (closes #838).
* Fix documentation examples of modbus_get_float_* functions.
* modbus_reply_exception: reject a NULL request pointer.
* modbus_mask_write_register: validate that ctx is not NULL.
* modbus_write_and_read_registers: validate src/dest pointers and
counts.
* modbus_report_slave_id: reject a NULL dest buffer.
* modbus_get_*_timeout: validate that the output pointers are not
NULL.
* modbus_mapping_new_start_address: cap table dimensions.
* modbus_mapping_new: reject negative counts.
* modbus_rtu_set_custom_rts: reject a NULL callback.
* modbus-rtu: avoid integer overflow in the RTS post-send delay.
* modbus-rtu: check the return values of the RTS ioctl calls.
* modbus-rtu: check the return value when saving termios settings
on connect.
* modbus-rtu: report a failure to restore termios settings on
close.
* modbus_new_rtu: reject negative baud rates.
* modbus-tcp: guard freeaddrinfo() against NULL on resolver
failure.
* modbus_new_tcp: NUL-terminate the IP string when ip is NULL.
* modbus_reply: validate FC22 request length before writing the
register.
* modbus-tcp: keep ctx->s consistent across failed or repeated
connects (no * false success on a stale descriptor, no socket
leak on reconnect).
* modbus-tcp: don't override the user error recovery mode in the
flush overflow path.
* guard close against a never-opened handle and reset it after
close).
* modbus-rtu: sleep the RTS turnaround delay in chunks to stay
portable with usleep().
* modbus_new_rtu: validate data_bit and stop_bit arguments.
* modbus_send_raw_request_tid: reject NULL raw_req with EINVAL.
* modbus_get_byte_from_bits: remove an always-false assert and
clamp nb_bits consistently in debug and release builds.
* tests: don't kill the unit test server on RTU bad-CRC frames.
* tests: fix integer overflow in the bandwidth-client rate
computation.
* Fri Feb 13 2026 Martin Hauke <mardnh@gmx.de>
- Update to version 3.1.12
* 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 (closes #710).
* Explicit cast for Coverity CID 416366.
* Document required buffer size of modbus_receive.
* Document macros for error codes corresponding to Modbus
exceptions (#758).
* Fix example of modbus_rtu_set_serial_mode (closes #552).
* Test filesystem provides symlink in autogen.sh (closes #414).
* Sync API signatures with the documentation.
* Many documentation fixes and typo corrections.
* Tue Oct 22 2024 Martin Hauke <mardnh@gmx.de>
- Update to version 3.1.11
* RTU - Check CRC before filtering on slave ID.
* HAVE_NETINET_IN_H as guard around header.
* Use default port 502 in documentation.
* Fix float endianness issue introduced in v3.1.8
* Proper display of used CFLAGS.
* Don't build with debug flag by default anymore.
* Check request length in modbus_reply when used in memcpy.
* Fix insecure data handling. CID 416366: INTEGER_OVERFLOW found
with Coverity Scan.
* Remove useless cast in setsockopt call.
* Documentation improvements.
* Revert TCP checks for recovery.
* Don't use loop initial declaration.
* Don't use gai_strerror if not available.
* Add checks for netinet/ip.h and gai_strerror.
* Log error in read input registers if debug.
* Fix errno value on timeout with TCP connect.
* Free addrinfo struct on getaddrinfo() gerrors.
* Fix doc of modbus_mapping_new_start_address.
* Sat Jan 21 2023 Dirk Müller <dmueller@suse.com>
- update to 3.1.10:
* Fix baud rate handling with RTU under Linux
* Fix modbus_disable_quirks signature
* Move content about migration to libmodbus.org
* Avoid negative value in FD_SET call
* Test socket against positive value instead of -1
* Improvements to autotools by @ndim
* Fix doc links by @jordanjohnson56 (#653)
* Test the protocol id for 0 by @metapsychologe (#509)
* Fix double negative in tests
* New quirks handler (closes #38 #533)
* Fix bitwise OR in documentation
* Improve doc about slave ID in RTU
* Add .clang-format and format code (closes #394)
* Remove constraints on baud rate values
* Accept IP or device in arg of unit test progs
* Avoid compilation issue with VS2022 with strdup
* Display created files in configure.js
* Use strcpy_s under Windows
* Replace inet_addr by inet_pton calls
* Replace inet_ntoa by inet_ptop
* Update configure.ac/config.h.win32 for new inet functions
* Instructions to build libmodbus in a VS project
* Fix connection check for Windows RTU (closes #660, #662)
* Add CIFuzz Github action by @DavidKorczynski (#669)
* Convert a few int to unsigned int (#402)
* Fri Dec 02 2022 Dirk Müller <dmueller@suse.com>
- update to 3.1.8:
* Major rewrite of documentation with Material for mkdocs
* Reduce memory use of TCP PI backend (closes #621)
* Fixed MODBUS_ERROR_RECOVERY_LINK not working on Windows (@embeddedmz)
* Replace Travis CI by GitHub CI
* Fix linker error for Windows (VCLinkerTool)
* Address check in single register / coil responses added (#463)
* Swap CRC bytes in request data but not at CRC computing (#397)
* Fix float endianness issue on big endian architecture
* Fix comment about EMBUNKEXC (closes #566)
* Fix network library detection on Haiku
* Fix typos (closes #620)
* Thu Feb 03 2022 Stanislav Brabec <sbrabec@suse.com>
- Update to version 3.1.7:
* Many minor fixes, typo fixes and documentation enhancements.
* For more see NEWS.
- Properly build debug package.
* Wed Aug 07 2019 sbrabec@suse.com
- Update to version 3.1.6:
- API extensions and minor API changes
- Fix VD-1301 and VD-1302 vulnerabilities.
- Bug fixes.
* For more see NEWS.
* Thu Apr 20 2017 sbrabec@suse.com
- New package, version 3.1.4 (development, but stable).
/usr/lib/libmodbus.so.5 /usr/lib/libmodbus.so.5.1.0 /usr/share/doc/packages/libmodbus5 /usr/share/doc/packages/libmodbus5/AUTHORS /usr/share/doc/packages/libmodbus5/NEWS.md /usr/share/doc/packages/libmodbus5/README.md /usr/share/licenses/libmodbus5 /usr/share/licenses/libmodbus5/COPYING.LESSER
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Aug 2 02:32:54 2026