commit | 3b4946332139c2301af0502f4198544b22633486 | [log] [tgz] |
---|---|---|
author | Abhilash S.L <abhilash.laxmeshwar@radisys.com> | Tue Jul 16 15:51:09 2019 +0530 |
committer | Abhilash S.L <abhilash.laxmeshwar@radisys.com> | Thu Jul 18 12:34:19 2019 +0530 |
tree | 1fbb00e12b07d59e896886ad0ef61144961b62d5 | |
parent | f880eb68e4bd1d11de08fd65d545d764ff8e7bfe [diff] [blame] |
VOL-1691 Fix openolt adapter getting stuck while registartion with core Change-Id: Ide8131f325bc15f1b909e14d7af6ee9bcd6b3b5b
diff --git a/vendor/golang.org/x/text/unicode/norm/iter.go b/vendor/golang.org/x/text/unicode/norm/iter.go index ce17f96..417c6b2 100644 --- a/vendor/golang.org/x/text/unicode/norm/iter.go +++ b/vendor/golang.org/x/text/unicode/norm/iter.go
@@ -128,8 +128,9 @@ func nextASCIIBytes(i *Iter) []byte { p := i.p + 1 if p >= i.rb.nsrc { + p0 := i.p i.setDone() - return i.rb.src.bytes[i.p:p] + return i.rb.src.bytes[p0:p] } if i.rb.src.bytes[p] < utf8.RuneSelf { p0 := i.p