git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f04c565
)
vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
author
Michael Adam
<obnox@samba.org>
Mon, 1 Dec 2008 05:17:43 +0000
(06:17 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 1 Dec 2008 05:22:45 +0000
(06:22 +0100)
Michael
source/modules/vfs_tsmsm.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_tsmsm.c
b/source/modules/vfs_tsmsm.c
index ee958b1be5192725bcfde58da8726bc1a446b0ce..6fb1d1d2d46715a471e58b77511be9cd61eeef8f 100644
(file)
--- a/
source/modules/vfs_tsmsm.c
+++ b/
source/modules/vfs_tsmsm.c
@@
-148,7
+148,7
@@
static bool tsmsm_is_offline(struct vfs_handle_struct *handle,
dm_attrname_t dmname;
int ret, lerrno;
bool offline;
- char *buf;
+ char *buf
= NULL
;
size_t buflen;
/* if the file has more than FILE_IS_ONLINE_RATIO of blocks available,