<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: [Patch] about the short packets problem
From: Olaf Titz <olaf,AT,bigred,DOT,inka,DOT,de>
Date: Sun, 9 Jun 2002 19:47:16 +0200
In-reply-to: <E17H2S1-0000lw-00@bigred.inka.de>

> Okay, the length check is bogus. Please try this one.

... and if it crashes again, change the 8 to 16. I'm not 100% sure
about the right threshold and can't test this properly at the moment
due to lack of equipment. :-(

Olaf

> -    if (length<cipehdrlen+(c->sockshost?sizeof(struct sockshdr):0)) {
> +    if (length<8+(c->sockshost?sizeof(struct sockshdr):0)) {





<< | Thread Index | >> ]    [ << | Date Index | >> ]