changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: upas/fs: checkfid() might be called with uninitialized fid, ignore

changeset 6905: a0cf603ccd3f
parent 6904: ef814b99942a
child 6906: bbc1c90e6f8f
author: cinap_lenrek@felloff.net
date: Wed, 21 Nov 2018 21:48:55 +0100
files: sys/src/cmd/upas/fs/fs.c
description: upas/fs: checkfid() might be called with uninitialized fid, ignore
     1.1--- a/sys/src/cmd/upas/fs/fs.c
     1.2+++ b/sys/src/cmd/upas/fs/fs.c
     1.3@@ -1329,6 +1329,7 @@ rwstat(Fid*)
     1.4 static Fid*
     1.5 checkfid(Fid *f)
     1.6 {
     1.7+	if(f->busy)
     1.8 	switch(FILE(f->qid.path)){
     1.9 	case Qtop:
    1.10 	case Qctl: