git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bd7846
)
s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
author
Michael Adam
<obnox@samba.org>
Mon, 1 Dec 2008 05:20:22 +0000
(06:20 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 1 Dec 2008 05:21:29 +0000
(06:21 +0100)
Michael
source3/modules/vfs_tsmsm.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_tsmsm.c
b/source3/modules/vfs_tsmsm.c
index ee958b1be5192725bcfde58da8726bc1a446b0ce..6fb1d1d2d46715a471e58b77511be9cd61eeef8f 100644
(file)
--- a/
source3/modules/vfs_tsmsm.c
+++ b/
source3/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,