commit | 69d813520cf14f5700c38c82b5c147aa3756bbd9 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jul 06 18:50:44 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 06 18:56:31 2008 -0400 |
tree | 6da5c21b90f43a2206e4b91cad4dc2b3e1c58287 | |
parent | 79e62409b3a247e258d9e9206484ed8f193a183e [diff] |
badblocks: Fix crash when lots of -t patterns given With more than 8 -t patterns given, badblocks will overwrite the t_patts array boundary due to realloc not taking into account the size of an int. Oops. Addresses-Debian-Bug: 487298 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>