Fix the upper bound in g_unichar_iswide_bsearch
commitbcbd8d73cecdd2050670fab6502fab8c84d8cec5
authorIain Lane <iain@orangesquash.org.uk>
Tue, 10 May 2016 08:46:06 +0000 (10 09:46 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 11 May 2016 02:43:23 +0000 (10 22:43 -0400)
treef5b0c1c66733eb984a91d491bfec38d8f7342956
parent9a865020ca119ea89fbbd836eeff4b374394152d
Fix the upper bound in g_unichar_iswide_bsearch

asan noticed an array out of bound access in this function, which was
because we were accessing G_N_ELEMENTS + 1.

https://bugzilla.gnome.org/show_bug.cgi?id=766211
glib/guniprop.c