[Click] click-fastclassifier segfault

Eddie Kohler kohler at cs.ucla.edu
Mon Feb 11 16:48:53 EST 2008


Thanks for this bug report!  I fixed the source problem instead of applying 
this patch.

Eddie


springbo at cs.wisc.edu wrote:
> Hello,
> 
> click-fastclassifier was segfaulting on my machines. Further investigation
> revealed add_line_directive in RouterT::unparse_declarations() was causing
> the problem.
> 
> click-fastclassifier adds 'Idle' elements when creating the
> classifiers_program. These 'Idle' elements do not have landmarks set.
> add_line_directive segfaults when called on an element without a landmark.
> 
> The attached patch fixes click-fastclassifier's segfault by explicitly
> setting a landmark for the 'Idle' elements.
> 
> 
> ~Kevin Springborn
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list