Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
46261081
Commit
46261081
authored
Mar 12, 2012
by
Ken Thomases
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix status returned for too-long registry value names.
(cherry picked from commit
97645d7a
)
parent
e25033b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
reg.c
dlls/ntdll/reg.c
+3
-3
No files found.
dlls/ntdll/reg.c
View file @
46261081
...
...
@@ -190,7 +190,7 @@ NTSTATUS WINAPI NtDeleteValueKey( HANDLE hkey, const UNICODE_STRING *name )
NTSTATUS
ret
;
TRACE
(
"(%p,%s)
\n
"
,
hkey
,
debugstr_us
(
name
)
);
if
(
name
->
Length
>
MAX_VALUE_LENGTH
)
return
STATUS_
BUFFER_OVERFLOW
;
if
(
name
->
Length
>
MAX_VALUE_LENGTH
)
return
STATUS_
OBJECT_NAME_NOT_FOUND
;
SERVER_START_REQ
(
delete_key_value
)
{
...
...
@@ -483,7 +483,7 @@ NTSTATUS WINAPI NtQueryValueKey( HANDLE handle, const UNICODE_STRING *name,
TRACE
(
"(%p,%s,%d,%p,%d)
\n
"
,
handle
,
debugstr_us
(
name
),
info_class
,
info
,
length
);
if
(
name
->
Length
>
MAX_VALUE_LENGTH
)
return
STATUS_
BUFFER_OVERFLOW
;
if
(
name
->
Length
>
MAX_VALUE_LENGTH
)
return
STATUS_
OBJECT_NAME_NOT_FOUND
;
/* compute the length we want to retrieve */
switch
(
info_class
)
...
...
@@ -771,7 +771,7 @@ NTSTATUS WINAPI NtSetValueKey( HANDLE hkey, const UNICODE_STRING *name, ULONG Ti
TRACE
(
"(%p,%s,%d,%p,%d)
\n
"
,
hkey
,
debugstr_us
(
name
),
type
,
data
,
count
);
if
(
name
->
Length
>
MAX_VALUE_LENGTH
)
return
STATUS_
BUFFER_OVERFLOW
;
if
(
name
->
Length
>
MAX_VALUE_LENGTH
)
return
STATUS_
INVALID_PARAMETER
;
SERVER_START_REQ
(
set_key_value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment