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

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

parents 36555850 0d97a418
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2167,6 +2167,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;