The Samba-Bugzilla – Attachment 3466 Details for
Bug 5178
Registry backend: Problems when editing with regedit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix the "QueryValue" RPC call
regRpcServer.patch (text/plain), 757 bytes, created by
Matthias Dieter Wallnöfer
on 2008-08-12 14:35:45 UTC
(
hide
)
Description:
Patch to fix the "QueryValue" RPC call
Filename:
MIME Type:
Creator:
Matthias Dieter Wallnöfer
Created:
2008-08-12 14:35:45 UTC
Size:
757 bytes
patch
obsolete
>diff --git a/source/rpc_server/winreg/rpc_winreg.c b/source/rpc_server/winreg/rpc_winreg.c >index 22c60c3..5c655f5 100644 >--- a/source/rpc_server/winreg/rpc_winreg.c >+++ b/source/rpc_server/winreg/rpc_winreg.c >@@ -461,7 +461,9 @@ static WERROR dcesrv_winreg_QueryValue(struct dcesrv_call_state *dce_call, > &value_type, &value_data); > > if (!W_ERROR_IS_OK(result)) { >- return result; >+ value_type = REG_NONE; >+ value_data.data = NULL; >+ value_data.length = 0; > } > > /* Just asking for the size of the buffer */ >@@ -483,7 +485,7 @@ static WERROR dcesrv_winreg_QueryValue(struct dcesrv_call_state *dce_call, > r->out.data = value_data.data; > } > >- return WERR_OK; >+ return result; > default: > return WERR_ACCESS_DENIED; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5178
:
3090
|
3108
|
3109
|
3110
|
3111
|
3112
|
3113
|
3152
|
3400
|
3464
|
3466
|
3472
|
3473
|
3474
|
3480
|
3481
|
3497
|
3572