Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
03ddca27
Commit
03ddca27
authored
May 31, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed infinite loop in config_ChainDuplicate.
parent
971c60c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/config/chain.c
src/config/chain.c
+2
-1
No files found.
src/config/chain.c
View file @
03ddca27
...
...
@@ -416,7 +416,8 @@ config_chain_t *config_ChainDuplicate( const config_chain_t *p_src )
{
config_chain_t
*
p_dst
=
NULL
;
config_chain_t
**
pp_last
=
&
p_dst
;
while
(
p_src
)
for
(
;
p_src
!=
NULL
;
p_src
=
p_src
->
p_next
)
{
config_chain_t
*
p
=
malloc
(
sizeof
(
*
p
)
);
if
(
!
p
)
...
...
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