>>>>> On Fri, 05 Mar 2010 16:44:13 +0100, Jan Safranek <[email protected]> 
>>>>> said:

JS> IMHO such malformed packets should be silently discarded.

I'd agree.

JS> Would you mind if I add checks to appropriate asn_parse_xxx?

*If* that's the right place to do it for a given problem, I'd agree.

JS> Or is it up to the caller to check returned type and I shall add the
JS> checks there?  It's more work this way ;).

It'd depend on the function called, IMHO,
-- 
Wes Hardaker
Please mail all replies to [email protected]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to