David Woodhouse 2e16cfca6e 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>
2009-12-16 03:27:20 +00:00
..
2009-07-12 12:22:34 -07:00
2009-06-11 21:36:14 -04:00
2009-09-23 07:39:29 -07:00
2009-07-12 12:22:34 -07:00
2009-09-23 07:39:28 -07:00
2009-09-23 07:39:29 -07:00
2009-06-17 00:36:36 -04:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00
2009-09-23 07:39:28 -07:00
2009-07-10 19:18:59 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:29 -07:00
2009-06-15 21:44:43 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:30 -07:00
2009-09-23 07:39:27 -07:00
2009-06-17 00:36:37 -04:00
2009-06-18 13:03:46 -07:00
2009-09-22 07:17:40 -07:00
2009-09-22 07:17:40 -07:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:30 -07:00
2009-06-18 13:03:41 -07:00
2009-07-12 12:22:34 -07:00
2009-03-31 23:00:26 -04:00
2009-09-23 07:39:29 -07:00
2009-06-11 21:36:07 -04:00
2009-09-22 07:17:41 -07:00
2009-04-07 08:31:16 -07:00
2009-04-20 23:02:52 -04:00
2009-09-23 07:39:29 -07:00