diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-03-08 14:32:16 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-03-08 14:32:16 +0000 |
commit | 7f4eaea507b832e39317cb612274bf81526b1f60 (patch) | |
tree | 5bec37e782f636e1a11df9c8df38db224672ecd1 /sshfs.c | |
parent | 57fc3f4b6a091c6b699004be2a0add104aed89a2 (diff) | |
download | sshfs-7f4eaea507b832e39317cb612274bf81526b1f60.tar sshfs-7f4eaea507b832e39317cb612274bf81526b1f60.tar.gz sshfs-7f4eaea507b832e39317cb612274bf81526b1f60.tar.bz2 sshfs-7f4eaea507b832e39317cb612274bf81526b1f60.zip |
fix
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); |