Some checks for return codes are missing.
Examples:
Would you like to add more error handling for return values from "malloc" in functions like "DecodeTCP" and from "DecodeEthernet"?
http://hlbr.svn.sourceforge.net/viewvc/hlbr/trunk/hlbr/decoders/decode_ethernet.c?revision=111&view=markup
http://hlbr.svn.sourceforge.net/viewvc/hlbr/trunk/hlbr/decoders/decode_tcp.c?revision=111&view=markup
Logged In: YES
user_id=1357472
Originator: NO
Lots of places in the code needs more checking... I've been adding some every time I see one missing check like this, but it would be nice to check all the code specifically for malloc/calloc's and add error handling for them.
Logged In: YES
user_id=572001
Originator: YES
Can the tool "http://splint.org/" help to find any remaining issues?
Would you like to reduce the efforts for error code checking by an exception class hierarchy?
http://dietmar-kuehl.de/mirror/c++-faq/exceptions.html#faq-17.1
http://cexcept.sourceforge.net/