diff options
Diffstat (limited to 'libversit/vcc.y')
-rw-r--r-- | libversit/vcc.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libversit/vcc.y b/libversit/vcc.y index b8b9933f2c..5c9a751913 100644 --- a/libversit/vcc.y +++ b/libversit/vcc.y @@ -1176,8 +1176,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; } |