GNOME Bugzilla – Bug 766211
Fix the upper bound in g_unichar_iswide_bsearch
Last modified: 2016-05-11 15:56:08 UTC
asan noticed an array out of bound access in this function, which was because we were accessing G_N_ELEMENTS + 1.
Created attachment 327566 [details] [review] Fix the upper bound in g_unichar_iswide_bsearch
It would be great to have a testcase that demonstrates the out-of-bound access and also successful access to the last member.
Attachment 327566 [details] pushed as bcbd8d7 - Fix the upper bound in g_unichar_iswide_bsearch
*** Bug 762493 has been marked as a duplicate of this bug. ***