Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
99788838
Commit
99788838
authored
Nov 25, 2011
by
Thomas B. Rücker
😊
Browse files
First part of security fix for
#1846
svn path=/icecast/trunk/icecast/; revision=18124
parent
3c481655
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cfgfile.c
View file @
99788838
...
...
@@ -37,8 +37,6 @@
#define CONFIG_DEFAULT_CLIENT_TIMEOUT 30
#define CONFIG_DEFAULT_HEADER_TIMEOUT 15
#define CONFIG_DEFAULT_SOURCE_TIMEOUT 10
#define CONFIG_DEFAULT_SOURCE_PASSWORD "changeme"
#define CONFIG_DEFAULT_RELAY_PASSWORD "changeme"
#define CONFIG_DEFAULT_MASTER_USERNAME "relay"
#define CONFIG_DEFAULT_SHOUTCAST_MOUNT "/stream"
#define CONFIG_DEFAULT_ICE_LOGIN 0
...
...
@@ -348,7 +346,7 @@ static void _set_defaults(ice_config_t *configuration)
configuration
->
client_timeout
=
CONFIG_DEFAULT_CLIENT_TIMEOUT
;
configuration
->
header_timeout
=
CONFIG_DEFAULT_HEADER_TIMEOUT
;
configuration
->
source_timeout
=
CONFIG_DEFAULT_SOURCE_TIMEOUT
;
configuration
->
source_password
=
(
char
*
)
xmlCharStrdup
(
CONFIG_DEFAULT_SOURCE_PASSWORD
)
;
configuration
->
source_password
=
NULL
;
configuration
->
shoutcast_mount
=
(
char
*
)
xmlCharStrdup
(
CONFIG_DEFAULT_SHOUTCAST_MOUNT
);
configuration
->
ice_login
=
CONFIG_DEFAULT_ICE_LOGIN
;
configuration
->
fileserve
=
CONFIG_DEFAULT_FILESERVE
;
...
...
Write
Preview
Supports
Markdown
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