We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 379cef3 commit 365dce2Copy full SHA for 365dce2
1 file changed
etc/afpd/dircache.c
@@ -434,6 +434,10 @@ int dircache_add(const struct vol *vol,
434
struct dir key;
435
hnode_t *hn;
436
437
+ LOG(log_error, logtype_afpd,
438
+ "dircache_add(): did:%u is less than the allowed %d. Data in \"%s\" may be invalid.",
439
+ ntohl(dir->d_did), CNID_START, cfrombstr(dir->d_u_name));
440
+
441
AFP_ASSERT(dir);
442
AFP_ASSERT(ntohl(dir->d_pdid) >= 2);
443
AFP_ASSERT(ntohl(dir->d_did) >= CNID_START);
0 commit comments