commit | e0d1f70010dce062ccce1bbd940a661e60b82631 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@lougher.demon.co.uk> | Fri Apr 23 02:32:02 2010 +0100 |
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | Sun Apr 25 02:09:05 2010 +0100 |
tree | 1a0844867f6aa1600a07a8a5321325ddf016a6e6 | |
parent | 370ec3d1ed9d76ba992e5b9b7d7d10700014d436 [diff] |
squashfs: fix potential buffer over-run on 4K block file systems Sizing the buffer based on block size is incorrect, leading to a potential buffer over-run on 4K block size file systems (because the metadata block size is always 8K). This bug doesn't seem have triggered because 4K block size file systems are not default, and also because metadata blocks after compression tend to be less than 4K. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>