From 504f5f7bddd81d3b02d00255f5ce693352ca836b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 6 Apr 2017 09:58:25 +0200 Subject: storage/FileInfo, db/simple/Directory: use 64 bit for device/inode An ino_t is usually a 64 bit integer, and some file systems (such as Linux's kernel NFS client) really uses the upper 32 bit. This can lead to false positives in the directory loop detection in FindAncestorLoop(). Increasing these two attributes (in StorageFileInfo and Directory) to 64 bit adds little overhead, but makes the check a lot safer. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a7b441c6f..c57c9dca3 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.20.7 (not yet released) +* database + - simple: fix false positive directory loop detection with NFS ver 0.20.6 (2017/03/10) * input -- cgit v1.2.3