What's Changed
- RTU - Check CRC before filtering on slave ID
- HAVE_NETINET_IN_H as guard around header (closes #765)
- Use default port 502 in documentation.
- Fix float endianness issue introduced in v3.1.8 (49af73d). Thank you @ghorwin for your excellent work on the subject. Closes #665, #694, #757, #770.
- Proper display of used CFLAGS.
- Don't build with debug flag by default anymore.
- Check request length in
modbus_reply
when used inmemcpy
.
Thank you Nozomi Networks Labs Advisory for the report. - Fix insecure data handling. CID 416366: INTEGER_OVERFLOW found with Coverity Scan.
- Remove useless cast in setsockopt call (closes #721)
- Link against socket and nsl libs when building on SunOS. Thank you @lanurmi.
- Update documentation about tcp-pi requiring 1 KiB of extra memory (closes #715). Thank you @psychon.
- Documentation improvements by @cedricboudinet and @mhei.
- Revert TCP checks for recovery (closes #711).
- Don't use loop initial declaration (closes #752).
- Fix wrong generated version for double number in win32 (closes #675).
- Don't use gai_strerror if not available.
- Add checks for netinet/ip.h and gai_strerror (#745)
- Log error in read input registers if debug (closes #755).
- Fix errno value on timeout with TCP connect (closes #736, #756).
Thank you @kyllingstad for the issue and @psychon for the fix. - Free addrinfo struct on getaddrinfo() gerrors.
- Fix doc of modbus_mapping_new_start_address (#615).
New Contributors
- @yauyimsing made their first contribution in #702
- @cedricboudinet made their first contribution in #682
- @lanurmi made their first contribution in #398
- @ghorwin made their first contribution in #694
- @diplfranzhoepfinger made their first contribution in #765
Full Changelog: v3.1.10...v3.1.11