Unverified Commit ea649f74 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1849 fs: jfs: fix possible NULL pointer dereference in dbFree()

parents 248de5e5 32b4ec33
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ int dbFree(struct inode *ip, s64 blkno, s64 nblocks)
	}

	/* write the last buffer. */
	if (mp)
		write_metapage(mp);

	IREAD_UNLOCK(ipbmap);