IPGWOptions question

Eddie Kohler kohler at icir.org
Fri Feb 7 15:47:12 EST 2003


Hi Jose,

> Looking at IPGWOptions::handle_options, there is a loop to
> process all the options. There is also the following length check:
> 
>     if(oi + xlen > olen)
>       break;
> 
> This will exit the loop. My question is why isn't this an error. It
> means that there is an option with the wrong length. Why not go
> the send_error processing?

You're absolutely right. Code upated.

Eddie




More information about the click mailing list