[stable] mtdchar: fix offset overflow detection

Ben Hutchings ben at decadent.org.uk
Sun Apr 14 20:27:10 EDT 2013


Brad Spengler pointed out this fix from 3.6 was missing from the earlier
stable branches:

commit 9c603e53d380459fb62fec7cd085acb0b74ac18f
Author: Linus Torvalds <torvalds at linux-foundation.org>
Date:   Sat Sep 8 12:57:30 2012 -0700

    mtdchar: fix offset overflow detection

It looks cleanly cherry-pickable, although I haven't yet tested this.

Ben.

-- 
Ben Hutchings
The first rule of tautology club is the first rule of tautology club.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20130415/cadbc429/attachment.sig>


More information about the linux-mtd mailing list