Files
twx-linux/net
Greg Kroah-Hartman 7b822932c1 fixup: sctp: verify size of a new chunk in _sctp_make_chunk()
Ben writes:
> > +	int chunklen;
> > +
> > +	chunklen = sizeof(*chunk_hdr) + paylen;
> 
> I think this length still needs to be rounded up (with WORD_ROUND here,
> instead of SCTP_PAD4 upstream).

So here's a fix for this problem.


Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-18 11:17:54 +01:00
..
…
…
…
…
…
…
2017-11-15 17:13:11 +01:00
…
…
…
…
…
…
…
…
…
2018-02-25 11:03:37 +01:00
…