diff options
Diffstat (limited to 'libversit/vcc.c')
-rw-r--r-- | libversit/vcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libversit/vcc.c b/libversit/vcc.c index 02ab47cb8e..c26f28a0c5 100644 --- a/libversit/vcc.c +++ b/libversit/vcc.c @@ -2030,8 +2030,8 @@ DLLEXPORT(VObject*) Parse_MIME_FromFileName(char *fname) return o; } else { - char msg[80]; - sprintf(msg, "can't open file '%s' for reading\n", fname); + char msg[256]; + snprintf(msg, sizeof(msg), "can't open file '%s' for reading\n", fname); mime_error_(msg); return 0; } |