commit | 8afaf3be33fe129357cb616ca6939077d6e5ead9 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Apr 05 20:35:50 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Apr 05 20:35:50 2015 -0400 |
tree | f45f2094e652c91ca06c2fba479f377a833a4f05 | |
parent | 4fb758aa4bf235ecd85786b4e819941dc534a0c0 [diff] |
libext2fs: fix bug in ext2fs_digest_encode() The ext2fs_digest_encode() function was broken for any input which was a multiple of 3. Previously we never hit that case, so we never noticed it was busted. Also fix up the unit test so future problems like this get noticed quickly. Signed-off-by: Theodore Ts'o <tytso@mit.edu>