Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
8ec568d5
Commit
8ec568d5
authored
Mar 15, 2006
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix possible bad pointer dereference bug when processing new clients
svn path=/icecast/trunk/icecast/; revision=11005
parent
043bff36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/connection.c
src/connection.c
+5
-0
No files found.
src/connection.c
View file @
8ec568d5
...
@@ -117,6 +117,10 @@ void connection_initialize(void)
...
@@ -117,6 +117,10 @@ void connection_initialize(void)
thread_mutex_create
(
&
move_clients_mutex
);
thread_mutex_create
(
&
move_clients_mutex
);
thread_rwlock_create
(
&
_source_shutdown_rwlock
);
thread_rwlock_create
(
&
_source_shutdown_rwlock
);
thread_cond_create
(
&
global
.
shutdown_cond
);
thread_cond_create
(
&
global
.
shutdown_cond
);
_req_queue
=
NULL
;
_req_queue_tail
=
&
_req_queue
;
_con_queue
=
NULL
;
_con_queue_tail
=
&
_con_queue
;
_initialized
=
1
;
_initialized
=
1
;
}
}
...
@@ -386,6 +390,7 @@ static void process_request_queue (void)
...
@@ -386,6 +390,7 @@ static void process_request_queue (void)
*
node_ref
=
node
->
next
;
*
node_ref
=
node
->
next
;
node
->
next
=
NULL
;
node
->
next
=
NULL
;
_add_connection
(
node
);
_add_connection
(
node
);
continue
;
}
}
}
}
else
else
...
...
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