Fix segfault on bogus text
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820162
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
/* Shift_JIS/CP932 (Japanese) */
|
||||
|
||||
static wc_uint16 sjis_ext_ucs_map[ 0x5E * 10 ] = {
|
||||
#define N_sjis_ext_ucs_map (0x5E * 10)
|
||||
|
||||
static wc_uint16 sjis_ext_ucs_map[ N_sjis_ext_ucs_map ] = {
|
||||
0x2460, /* 0x8740 */
|
||||
0x2461, /* 0x8741 */
|
||||
0x2462, /* 0x8742 */
|
||||
|
Reference in New Issue
Block a user