summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2017-11-24 02:02:38 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2017-11-24 02:02:38 +0100
commit5b060d5b7f0d76ee5c8626d34747cf605dd81e13 (patch)
tree2e37f2d423181da436e66e49d08c7d413d388b7d /src/settings.h
parentfbc3ebea75cb92d4ce847aa877269f4217ab6dee (diff)
metaentry.c: Fix underallocation for xattr_lvalues.
Wrong type has been used for calculating size of requested memory. Underallocation happened in mentries_fromfile() code path if sizeof(ssize_t) > sizeof(int), which is true on 64-bit platforms. Reading metadata file with extended attributes entries led to corruption of metadata represented in memory on such platforms, so applying could led to corruption of metadata on disk too. Reported-by: Uros Juvan <asmpro@gmail.com>
Diffstat (limited to 'src/settings.h')
0 files changed, 0 insertions, 0 deletions