diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-12-16 03:27:20 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-18 14:05:52 -0800 |
commit | 3a03456dc34ff703e5b7c718b78713577f832116 (patch) | |
tree | fe44dd0309743346b7c20b229d8d22b5294e797c /scripts/patch-kernel | |
parent | 75bc75ed15405655d795a163856158aa2ff9bdbc (diff) |
jffs2: Fix long-standing bug with symlink garbage collection.
commit 2e16cfca6e17ae37ae21feca080a6f2eca9087dc upstream.
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.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions