Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 74ef4047 authored by Ben Hutchings's avatar Ben Hutchings Committed by Zvikomborero Vincent Zvikaramba
Browse files

splice: Apply generic position and size checks to each write



We need to check the position and size of file writes against various
limits, using generic_write_check().  This was not being done for
the splice write path.  It was fixed upstream by commit 8d0207652cbe
("->splice_write() via ->write_iter()") but we can't apply that.

CVE-2014-7822

Change-Id: I7c5fb5ee3d04a81d9cd7dc824e4b521103329f19
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 986a40ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment