Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4397e995
Commit
4397e995
authored
Jul 12, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Fix some potential infinite loops because of an unsigned loop counter.
parent
98934f20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
init.c
dlls/wldap32/init.c
+1
-2
value.c
dlls/wldap32/value.c
+1
-3
No files found.
dlls/wldap32/init.c
View file @
4397e995
...
...
@@ -109,8 +109,7 @@ static char **split_hostnames( const char *hostnames )
return
res
;
oom:
for
(
--
i
;
i
>=
0
;
i
--
)
strfreeU
(
res
[
i
]
);
while
(
i
>
0
)
strfreeU
(
res
[
--
i
]
);
HeapFree
(
GetProcessHeap
(),
0
,
res
);
HeapFree
(
GetProcessHeap
(),
0
,
str
);
...
...
dlls/wldap32/value.c
View file @
4397e995
...
...
@@ -190,9 +190,7 @@ static char **bv2str_array( struct berval **bv )
str
[
i
]
=
bv2str
(
*
p
);
if
(
!
str
[
i
])
{
for
(
--
i
;
i
>=
0
;
i
--
)
HeapFree
(
GetProcessHeap
(),
0
,
str
[
i
]
);
while
(
i
>
0
)
HeapFree
(
GetProcessHeap
(),
0
,
str
[
--
i
]
);
HeapFree
(
GetProcessHeap
(),
0
,
str
);
return
NULL
;
}
...
...
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