1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3-winreg: make QueryValue pass RPC-WINREG test again.

Guenther
This commit is contained in:
Günther Deschner 2010-03-11 20:48:24 +01:00
parent 40e2c04f8a
commit 24a7f8f2db

View File

@ -230,6 +230,10 @@ WERROR _winreg_QueryValue(pipes_struct *p, struct winreg_QueryValue *r)
if ( !regkey )
return WERR_BADFID;
if (r->in.value_name->name == NULL) {
return WERR_INVALID_PARAM;
}
if ((r->out.data_length == NULL) || (r->out.type == NULL) || (r->out.data_size == NULL)) {
return WERR_INVALID_PARAM;
}