Re: [PATCH 1/4] hhctrl.ocx: Add HTML to Unicode decoding capability (try 4).
June 15, 2012
11:52 a.m.
"Erich E. Hoover" <ehoover(a)mymail.mines.edu> writes:
+ while(min <= max) + { + const char *encoded_symbol; + + pos = (min+max)/2; + encoded_symbol = html_encoded_symbols[pos].html_code; + dir = strncmp(encoded_symbol, amp, len);
You need to check the length, strncmp is not enough. -- Alexandre Julliard julliard(a)winehq.org
5032
Age (days ago)
5032
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard