Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add register count checks to modbus_reply
Add checks so modbus_reply returns a MODBUS_EXCEPTION_ILLEGAL_DATA_ADDRESS if the count of requested registers exceeds the spec as noted in modbus.h, line 73ff.
- Loading branch information
Josef Holzmayr
committed
Sep 22, 2011
1 parent
c0cac3d
commit 58cf895
Showing
1 changed file
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters