Fix a crash in _winreg_QueryValue
authorVolker Lendecke <vl@samba.org>
Fri, 13 Jun 2008 13:30:08 +0000 (15:30 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 13 Jun 2008 13:33:51 +0000 (15:33 +0200)
commitc404c8950d4c4a5ab56e5a1b7b895403cfa0ea18
treed21ba99c03b6851d672698643dfe3a3fd000e91b
parent813ca8d705f81f640d5e858750cc7c05e2ab6125
Fix a crash in _winreg_QueryValue

Coverity ID 474, value_length and type are both unique, not ref pointers and
can thus be NULL.

Karolin, please merge this to -stable.

Thanks,

Volker
(cherry picked from commit 999533c0ccced59141d8baff5bc248d63e2a966f)
(This used to be commit 7e07ec68f15908a998f83d615a1b4d1349935a54)
source3/rpc_server/srv_winreg_nt.c