mtools/mtools400-rh480112.patch

13 lines
489 B
Diff

diff -up mtools-4.0.0/file_name.c.rh480112 mtools-4.0.0/file_name.c
--- mtools-4.0.0/file_name.c.rh480112 2009-01-21 19:35:08.000000000 +0100
+++ mtools-4.0.0/file_name.c 2009-01-21 19:35:36.000000000 +0100
@@ -145,7 +145,7 @@ void dos_name(doscp_t *toDos, const char
wchar_t *unix_name(doscp_t *dosCp,
const char *base, const char *ext, char Case, wchar_t *ret)
{
- char *s, tname[9], text[4], ans[11];
+ char *s, tname[9], text[4], ans[13];
int i;
strncpy(tname, base, 8);