diff options
author | Michael Adam <obnox@samba.org> | 2008-12-01 06:20:22 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-12-01 06:21:29 +0100 |
commit | e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f (patch) | |
tree | ebf55d19e982f3d2914c761eadcdf23ad653d7c4 /source3/modules | |
parent | 7bd7846df7a28b9a066fd4d862de0e4d81aadb86 (diff) | |
download | samba-e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f.tar.gz samba-e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f.tar.bz2 samba-e021ecea45bbd41fb671d3f0cb8f5c271f14ba7f.zip |
s3:vfs_tsmsm: fix potential segfault (freeing uninitialized buffer)
Michael
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_tsmsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_tsmsm.c b/source3/modules/vfs_tsmsm.c index ee958b1be5..6fb1d1d2d4 100644 --- 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, |