commit | 7c1384c3242a7ff4e60d40e674077c0c5b124a4d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Jan 28 09:02:23 2013 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jan 28 09:06:23 2013 -0500 |
tree | c965129e17e64b5be1db2825031aba6e221cf54d | |
parent | 1bdc4f306a9dfc3d946dd951e26e9ef0177f726f [diff] |
debugfs: add sanity check to make sure we never shift 64 bits right In the tables which are used to parse the fields for the set_fields command, there should never be a entry which has a size set to 8 bytes, and two pointers defined. Not only would it result in undefined behavior in the compiled code, it doesn't make any sense and is definitely a bug. Reported-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>