48 parent e27ecdd94d81e5bc3d1f68591701db5adb342f0d author Clemens Ladisch 1240560716 +0200 committer Greg Kroah-Hartman 1245127483 -0700 nls: utf8_wcstombs: fix buffer overflow utf8_wcstombs forgot to include one-byte UTF-8 characters when calculating the output buffer size, i.e., theoretically, it was possible to overflow the output buffer with an input string that contains enough ASCII characters. In practice, this was no problem because the only user so far (VFAT) always uses a big enough output buffer. Signed-off-by: Clemens Ladisch Signed-off-by: Greg Kroah-Hartman ÅÅîZž"x