On Tue, Feb 27, 2018 at 04:48:18PM +0100, Emmanuel Hocdet wrote:
> > Where exactly did you face the problem ? I'm pretty sure that it's this
> > specific place which needs to be fixed.
> >
> Is for make_tlv with PP2_TYPE_ALPN. I will look at this place.
OK, thanks for the pointer. But from what I'm seeing there it should
not be an issue either as it seems to correclty use the length as well :
if (conn_get_alpn(remote, &value, &value_len)) {
if ((buf_len - ret) < sizeof(struct tlv))
return 0;
ret += make_tlv(&buf[ret], (buf_len - ret), PP2_TYPE_ALPN,
value_len, value);
}
> Thank you for watching.
you're welcome :-)
Willy