diff options
author | David Spisla <david.spisla@iternity.com> | 2019-02-19 14:56:11 +0100 |
---|---|---|
committer | David Spisla <david.spisla@iternity.com> | 2019-02-20 08:54:09 +0100 |
commit | 15423e14f16dd1a15ee5e5cbbdbdd370e57ed59f (patch) | |
tree | 08ee24f9e8b354e24b598e980b3b82de71871783 /submit-for-review.sh | |
parent | 09394856e1197db4933e7e814589a3340eb739cd (diff) |
md-cache: Adapt integer data types to avoid integer overflow
The "struct iatt" in iatt.h is using int64_t types for storing
the atime, mtime and ctime. Therefore the struct 'struct md_cache' in
md-cache.c should also use this types to avoid an integer overflow.
This can happen e.g. if someone uses a very high default-retention-period
in the WORM-Xlator.
Change-Id: I605268d300ab622b9c8ab30e459dc00d9340aad1
fixes: bz#1678726
Signed-off-by: David Spisla <david.spisla@iternity.com>
Diffstat (limited to 'submit-for-review.sh')
0 files changed, 0 insertions, 0 deletions