-
Current code could dereference NULL pointer in case an inner malloc fails. Check for this and exit gracefully. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
-
- allow an empty string or NULL for node argument - protect against NULL in service argument - new test for NULL service - update documentation
-
Each function is decribed in one txt file. The file libmodbus.txt offers an overview of the library. It's possible to generate HTML and man outputs from the txt file. The documentation can be generated only if you have the required tools (asciidoc and xmlto). Better results are obtained with AsciiDoc v8.6+