commit | a4aff9ca5bcc3df76dcb3d49765674feba3d7654 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Aug 31 14:27:21 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Aug 31 14:27:21 2011 -0400 |
tree | b9ee6ada7799fb1ee62fe8f9c0a682787cad3298 | |
parent | 9b3018a82e843d860e05dc8d75f9358d4436547e [diff] |
libext2fs: fix binary search for the icount and badblocks stores Remove the interpolation because there is a bug in icount which can cause a core dump if calculated range gets turned into a NaN and then do an out-of-bounds array access. We could fix this with some more tests, but the complexity is such that nuking all of the interpolation code will be faster than fixing the interpolation. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>