rscada/libmbus — pull request #51 by lategoodbye (2013-06-22 09:24:17+00:00)
Title: Improve data parsing

- add length defines for variable data header and fixed data
- add size check for fixed data
- avoid problems with memory alignment / padding in mbus structures
(improve portability)
- abort parsing if there are too many DIFE or VIFEs
- check for premature end of variable data
- check size of variable length VIF
- add test cases as hex files