diff options
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1339,7 +1339,7 @@ static void transform_symlink(const char *path, char **linkp) return; dotdots--; - newlink = malloc(dotdots * 3 + l ? strlen(l) : 1 + 10); + newlink = malloc(dotdots * 3 + strlen(l) + 2); if (!newlink) { fprintf(stderr, "sshfs: memory allocation failed\n"); exit(1); |