summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorDavid Woodhouse2009-12-16 04:27:20 +0100
committerDavid Woodhouse2009-12-16 04:27:20 +0100
commit2e16cfca6e17ae37ae21feca080a6f2eca9087dc (patch)
tree6474bcbf5d7f79d359b07fd187093beb4b8b489d /drivers/mtd/maps
parentmtd: OneNAND: Fix test of unsigned in onenand_otp_walk() (diff)
downloadkernel-qcow2-linux-2e16cfca6e17ae37ae21feca080a6f2eca9087dc.tar.gz
kernel-qcow2-linux-2e16cfca6e17ae37ae21feca080a6f2eca9087dc.tar.xz
kernel-qcow2-linux-2e16cfca6e17ae37ae21feca080a6f2eca9087dc.zip
jffs2: Fix long-standing bug with symlink garbage collection.
Ever since jffs2_garbage_collect_metadata() was first half-written in February 2001, it's been broken on architectures where 'char' is signed. When garbage collecting a symlink with target length above 127, the payload length would end up negative, causing interesting and bad things to happen. Cc: stable@kernel.org Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps')
0 files changed, 0 insertions, 0 deletions