Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 04:02:00 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r339033 - stable/11/sys/geom/raid
Message-ID:  <201810010402.w91420Ii005350@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Oct  1 04:02:00 2018
New Revision: 339033
URL: https://svnweb.freebsd.org/changeset/base/339033

Log:
  MFC r338913: Fix use-after-free in RAID0 error reporting of GEOM_RAID.

Modified:
  stable/11/sys/geom/raid/tr_raid0.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/geom/raid/tr_raid0.c
==============================================================================
--- stable/11/sys/geom/raid/tr_raid0.c	Sun Sep 30 23:18:42 2018	(r339032)
+++ stable/11/sys/geom/raid/tr_raid0.c	Mon Oct  1 04:02:00 2018	(r339033)
@@ -321,7 +321,7 @@ g_raid_tr_iodone_raid0(struct g_raid_tr_object *tr,
 	pbp->bio_inbed++;
 	if (pbp->bio_children == pbp->bio_inbed) {
 		pbp->bio_completed = pbp->bio_length;
-		g_raid_iodone(pbp, bp->bio_error);
+		g_raid_iodone(pbp, pbp->bio_error);
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810010402.w91420Ii005350>