9adf3c03c4
- 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.
Martin Hauke2026-02-13 19:24:02 +00:00
fa7186be63
Accepting request 1218135 from hardware
Ana Guerrero2024-10-25 17:20:00 +00:00
2e112331ca
- 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.
Stanislav Brabec2024-10-24 21:25:33 +00:00