summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-13 10:56:00 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-18 11:15:45 +0100
commitd8930f132b54a3abf0d12d506e9e9204ce23abb8 (patch)
tree2751b1692771196fdf039bb579522018e2ad7294 /Makefile
parent502319ce91249e578323190ee7332c8b43ca9202 (diff)
downloadlinux-d8930f132b54a3abf0d12d506e9e9204ce23abb8.tar.gz
linux-d8930f132b54a3abf0d12d506e9e9204ce23abb8.tar.bz2
linux-d8930f132b54a3abf0d12d506e9e9204ce23abb8.zip
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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions