diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-02-24 11:15:06 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-02-24 12:29:56 +0100 |
commit | e2532816400f005574c7452e5c4e30a3a8067771 (patch) | |
tree | 76df258bff5fdf1fa184ecda7458c3e53d1a50a1 /source3/smbd/open.c | |
parent | 9bf1032cb773a3eda90d0c6d379c5938690209e8 (diff) | |
download | samba-e2532816400f005574c7452e5c4e30a3a8067771.tar.gz |
s4:dynconfig: fix segfault in the set_dyn_*() functions
We should not try to call free on a const string (the default one).
Now we make sure that the dyn_* variable is never NULL
and only allocated if it's not the default value.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 24 12:29:56 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd/open.c')
0 files changed, 0 insertions, 0 deletions