projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mailmbox: fix buffer size
[claws.git]
/
src
/
plugins
/
mailmbox
/
mailmbox.c
diff --git
a/src/plugins/mailmbox/mailmbox.c
b/src/plugins/mailmbox/mailmbox.c
index 3df534271614fd7c7a92d63a5d5acad791d14f49..feb2453aec7d1ba34a4d12cace43e92d94520d80 100644
(file)
--- a/
src/plugins/mailmbox/mailmbox.c
+++ b/
src/plugins/mailmbox/mailmbox.c
@@
-1242,7
+1242,7
@@
static int claws_mailmbox_expunge_to_file_no_lock(char * dest_filename, int dest
int claws_mailmbox_expunge_no_lock(struct claws_mailmbox_folder * folder)
{
- char tmpfile[PATH_MAX
];
+ char tmpfile[PATH_MAX
+ 8]; /* for the extra Xs */
int r;
int res;
int dest_fd;