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

!14583 ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit

parents 5865ef7f 36c4df62
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -657,6 +657,8 @@ static int get_znodes_to_commit(struct ubifs_info *c)
		znode->alt = 0;
		cnext = find_next_dirty(znode);
		if (!cnext) {
			ubifs_assert(c, !znode->parent);
			znode->cparent = NULL;
			znode->cnext = c->cnext;
			break;
		}