Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2018 15:35:29 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337261 - head/sys/amd64/amd64
Message-ID:  <201808031535.w73FZTVw012845@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Aug  3 15:35:29 2018
New Revision: 337261
URL: https://svnweb.freebsd.org/changeset/base/337261

Log:
  Fix typo in copyinstr_smap, resulting in mis-handling of too long strings.
  
  Reported and tested by:	pho
  PR:	230286
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/amd64/amd64/support.S

Modified: head/sys/amd64/amd64/support.S
==============================================================================
--- head/sys/amd64/amd64/support.S	Fri Aug  3 15:30:32 2018	(r337260)
+++ head/sys/amd64/amd64/support.S	Fri Aug  3 15:35:29 2018	(r337261)
@@ -922,7 +922,7 @@ ENTRY(copyinstr_smap)
 
 2:
 	decq	%rdx
-	jz	copyinstr_succ
+	jz	copyinstr_toolong
 
 	stac
 	lodsb



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