diff options
author | Jeremy Allison <jra@samba.org> | 2010-08-12 14:24:01 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-08-12 15:16:42 -0700 |
commit | 84fd910c347ddfad6f01edbe7f6e25546c8382ee (patch) | |
tree | e6d3d4c0b8753adeb18700eb7636c50bb09cf712 /source3/rpc_server/srv_wkssvc_nt.c | |
parent | c67b4ed3a406011d0fc7e1e2cbdc27ec4822e57c (diff) | |
download | samba-84fd910c347ddfad6f01edbe7f6e25546c8382ee.tar.gz samba-84fd910c347ddfad6f01edbe7f6e25546c8382ee.tar.bz2 samba-84fd910c347ddfad6f01edbe7f6e25546c8382ee.zip |
Fix bug #7617 - smbd coredump due to uninitialized variables in the performance counter code.
In the file rpc_server.c, function _winreg_QueryValue()
uint8_t *outbuf
Should be :
uint8_t *outbuf = NULL;
As it is later freed by
if (free_buf) SAFE_FREE(outbuf);
in some cases, this frees the unintialized outbuf, which causes a coredump.
Diffstat (limited to 'source3/rpc_server/srv_wkssvc_nt.c')
0 files changed, 0 insertions, 0 deletions