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

!12896 ext4: aovid use-after-free in ext4_ext_insert_extent()

parents c7529792 2a5df046
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2116,6 +2116,7 @@ int ext4_ext_insert_extent(handle_t *handle, struct inode *inode,
				       ppath, newext);
	if (err)
		goto cleanup;
	path = *ppath;
	depth = ext_depth(inode);
	eh = path[depth].p_hdr;