[Snort-devel] Question about option function list

Charlie Hand charlieh at ...63...
Thu Apr 19 13:24:08 EDT 2001


I see in the sp_template.c where the detector function
calls the next OptTestFunc in the list, but it doesn't
check to see if it's at the end of the list. How does that
work? It seems like the last guy in the list would try to
dereference a null pointer.

-Charlie
-- 
 Charlie Hand - technical support engineer     
      mailto:charlieh at ...63...    
 Silicon Defense - Technical Support for Snort 
      http://www.silicondefense.com

-- 
 Charlie Hand - technical support engineer     
      mailto:charlieh at ...63...    
 Silicon Defense - Technical Support for Snort 
      http://www.silicondefense.com




More information about the Snort-devel mailing list