IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can an SSH_MSG_EXT_INFO have zero entries?



Mouse <mouse%Rodents-Montreal.ORG@localhost> writes:

> I would assume it's one that conforms to the syntax given.  8308
> describes it as
>
>      byte       SSH_MSG_EXT_INFO (value 7)
>      uint32     nr-extensions
>      repeat the following 2 fields "nr-extensions" times:
>        string   extension-name
>        string   extension-value (binary)
>
> which looks to me as though that is a perfectly good SSH_MSG_EXT_INFO
> message, just one that happens to have a zero nr-extensions.

For what it's worth, empty lists are valid (and common) in some other
places, e.g., the languages lists in SSH_MSG_KEXINIT.

Regards,
/Niels Möller

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.



Home | Main Index | Thread Index | Old Index