Re: [PATCH 1/4] hhctrl.ocx: Add HTML to Unicode decoding capability (try 4).
15 Jun
2012
15 Jun
'12
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
4931
Age (days ago)
4931
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard