commit | 17a1f2c1929630e3a79e6b98168d56f96acf2e8b | [log] [tgz] |
---|---|---|
author | Andreas Dilger <adilger@dilger.ca> | Thu Mar 29 12:36:54 2018 -0600 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Mar 29 23:01:19 2018 -0400 |
tree | bff3290114ffaadc58ef8ace60b014a5c1917e30 | |
parent | 748924621fdd0e70a191091915fc9724d42e4796 [diff] |
filefrag: avoid temporary buffer overflow If an unknown flag is present in a FIEMAP extent, it is printed as a hex value into a temporary buffer before adding it to the flags. If that unknown flag is over 0xfff then it will overflow the temporary buffer. Reported-by: Sarah Liu <wei3.liu@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-10335 Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>