Ethereal-dev: Re: [Ethereal-dev] [PATCH]Dissecting SSH short frames

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

From: Loïc Minier <lool+ethereal@xxxxxxxxxx>
Date: Tue, 23 Dec 2003 16:00:14 +0100
Lo�c Minier <lool+ethereal@xxxxxxxxxx> - Thu, Dec 18, 2003:

>  It turns out that packet-ssh.c loops forever if the first packets
>  are short frames (the announced TCP payload is bigger than the real
>  captured payload, for example because one forgot to -s 65535 with
>  tcpdump :).
>  Attached patch replaces the tvb_reported_length_remaining calls with
>  tvb_ensure_length_remaining calls, and fixes the problem here.

 A capture exposing the problem is available at:
    <http://people.via.ecp.fr/~lool/ethereal/ssh-short.bin>

-- 
Lo�c Minier <lool@xxxxxxxx>