diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-12-15 22:27:20 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-12-15 22:27:20 -0500 |
commit | 2e16cfca6e17ae37ae21feca080a6f2eca9087dc (patch) | |
tree | 6474bcbf5d7f79d359b07fd187093beb4b8b489d /drivers/ps3 | |
parent | 0a032a4df6dc4a82bcd1c401e57ee71825d30c14 (diff) |
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/ps3')
0 files changed, 0 insertions, 0 deletions