s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior.
commit55436299da49d995a2d9b3d7b702122ebb2ce156
authorGünther Deschner <gd@samba.org>
Thu, 11 Mar 2010 11:21:08 +0000 (11 12:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Mar 2010 10:30:49 +0000 (18 11:30 +0100)
tree5fcfb492ba3b1e6f41e021ec81de74345f49df5c
parent6740503b0bace52d09d2a306f8da8b168c2e7ab0
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).
source3/rpc_server/srv_winreg_nt.c