Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
kakasi
bugzilla-154848-array-subscript-out-of-range.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bugzilla-154848-array-subscript-out-of-range.patch of Package kakasi
diff -ru kakasi-2.3.4.orig/lib/libk2.c kakasi-2.3.4/lib/libk2.c --- kakasi-2.3.4.orig/lib/libk2.c 2001-01-16 08:51:47.000000000 +0100 +++ kakasi-2.3.4/lib/libk2.c 2006-03-09 17:48:06.000000000 +0100 @@ -127,7 +127,7 @@ "^", "\"", "_", "(maru)", "", ""}; -#define k2rom_buflen 10 +#define k2rom_buflen 11 static int k2rom(c, n, type) @@ -154,7 +154,7 @@ index_made = 1; } - buffer[k2rom_buflen] = '\0'; clen = k2rom_buflen; + buffer[k2rom_buflen-1] = '\0'; clen = k2rom_buflen-1; for (i = 0; i < k2rom_buflen; ++ i) { c1 = c[i].c1; if ((0 < c1) && (c1 < 0x20)) diff -ru kakasi-2.3.4.orig/src/k2.c kakasi-2.3.4/src/k2.c --- kakasi-2.3.4.orig/src/k2.c 2001-01-16 08:51:47.000000000 +0100 +++ kakasi-2.3.4/src/k2.c 2006-03-09 17:51:18.000000000 +0100 @@ -127,7 +127,7 @@ "^", "\"", "_", "(maru)", "", ""}; -#define k2rom_buflen 10 +#define k2rom_buflen 11 static int k2rom(c, n, type) @@ -154,7 +154,7 @@ index_made = 1; } - buffer[k2rom_buflen] = '\0'; clen = k2rom_buflen; + buffer[k2rom_buflen-1] = '\0'; clen = k2rom_buflen-1; for (i = 0; i < k2rom_buflen; ++ i) { c1 = c[i].c1; if ((0 < c1) && (c1 < 0x20))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor