From 04418c5901b846cf904d929210cb71dfba44e9a7 Mon Sep 17 00:00:00 2001 From: Donald Douwsma Date: Mon, 23 Jul 2007 04:14:27 +0000 Subject: [PATCH] Fix null pointer dereference in state_f. Merge of master-melb:xfs-cmds:29194a by kenmcd. --- quota/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quota/state.c b/quota/state.c index 41d968793..292f4a16d 100644 --- a/quota/state.c +++ b/quota/state.c @@ -234,7 +234,7 @@ state_f( if (flags & ALL_MOUNTS_FLAG) state_quotafile(fp, type, NULL, flags); - else if (fs_path->fs_flags & FS_MOUNT_POINT) + else if (fs_path && fs_path->fs_flags & FS_MOUNT_POINT) state_quotafile(fp, type, fs_path->fs_dir, flags); if (fname) -- 2.47.2