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
This commit is contained in:
Konstantin Belousov 2018-08-03 15:35:29 +00:00
parent e0fa977ea5
commit 35efb3b1de

View File

@ -922,7 +922,7 @@ ENTRY(copyinstr_smap)
2:
decq %rdx
jz copyinstr_succ
jz copyinstr_toolong
stac
lodsb