s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.
commit224c7005144ea4835edcd92973cd185a88fbb8bb
authorGünther Deschner <gd@samba.org>
Thu, 11 Mar 2010 11:21:08 +0000 (11 12:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Mar 2010 07:41:05 +0000 (29 09:41 +0200)
tree9dadaa5fc25cf7f72e93c364a7b852d1bc0b8959
parentd4a7e2fae741d7d446412ef215170a31d31c9339
s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.

Found by RPC-WINREG smbtorture test.

Guenther
(cherry picked from commit cddc542ba5f30316ff4ee8fa591a54808b7be4c8)

The last 4 patches address bug #7258 (NULL pointer derref crash in
_winreg_QueryValue).
(cherry picked from commit 55436299da49d995a2d9b3d7b702122ebb2ce156)
source3/rpc_server/srv_winreg_nt.c