util: fixed place where we could look one byte past end of string
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Oct 2009 00:03:27 +0000 (11:03 +1100)
committerJeremy Allison <jra@samba.org>
Fri, 23 Oct 2009 18:41:03 +0000 (11:41 -0700)
commitdcdec1663c1bba90ebe59abed0d0f70772f0eb64
tree8351f8aa419b8a86b99b3f204a9f2694404ce441
parentb46f0a7bda7101517435ef612c68e81976d15102
util: fixed place where we could look one byte past end of string

We need to check the length before the value
lib/util/charset/util_unistr.c