Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Re: Bug in randpkt

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gerald Combs <gerald@xxxxxxxxxxxx>
Date: Tue, 26 Jul 2005 11:54:55 -0500
It just took a while to get taken care of.  Your patch has been checked
in, and will be in 0.10.12.

Brice Augustin wrote:
> This message had no answer... why ?
> 
> Did I made a mistake ? Is there a bug, or did I misunderstand how
> randpkt works ? :)
> 
> Best regards,
> 
> Brice Augustin
> 
> 
> On 6/28/05, Brice <bricecotte@xxxxxxxxx> wrote:
> 
>>Hello,
>>
>>There is a bug in the for loop that generates a random payload in
>>randpkt : the loop should stop when j reaches len_this_pkt, not
>>len_random.
>>
>>Here is a (very simple !) patch to fix it.
>>
>>Sincerely yours,
>>
>>Brice
>>
>>
>>
> 
> 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev