From: Donald Douwsma Date: Mon, 23 Jul 2007 04:14:27 +0000 (+0000) Subject: Fix null pointer dereference in state_f. X-Git-Tag: v2.10.0~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=04418c5901b846cf904d929210cb71dfba44e9a7;p=thirdparty%2Fxfsprogs-dev.git Fix null pointer dereference in state_f. Merge of master-melb:xfs-cmds:29194a by kenmcd. --- 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)