RE: [patch added to 3.12-stable] net: sctp, forbid negative length

2016-11-24 Thread David Laight
From: Jiri Slaby > Sent: 24 November 2016 09:18 > This patch has been added to the 3.12 stable tree. If you have any > objections, please let us know. > > === > > [ Upstream commit a4b8e71b05c27bae6bad3bdecddbc6b68a3ad8cf ] > > Most of getsockopt handlers in net/sctp/socket.c check

[patch added to 3.12-stable] net: sctp, forbid negative length

2016-11-24 Thread Jiri Slaby
This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === [ Upstream commit a4b8e71b05c27bae6bad3bdecddbc6b68a3ad8cf ] Most of getsockopt handlers in net/sctp/socket.c check len against sizeof some structure like: if (len <