Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
94
Issues
94
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
9ffd16cb
Commit
9ffd16cb
authored
Sep 19, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Fixed two memory leaks in URL auth
parent
212ef5bb
Pipeline
#317
failed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/auth_url.c
src/auth_url.c
+2
-1
No files found.
src/auth_url.c
View file @
9ffd16cb
...
...
@@ -524,6 +524,7 @@ static auth_result url_add_client(auth_client *auth_user)
cur_header
=
next_header
;
}
free
(
pass_headers
);
}
if
(
strchr
(
url
->
addurl
,
'@'
)
==
NULL
)
{
...
...
@@ -668,7 +669,7 @@ int auth_get_url_auth(auth_t *authenticator, config_options_t *options)
}
else
if
(
!
url_info
->
header_timelimit
&&
!
url_info
->
timelimit_header
)
{
ICECAST_LOG_WARN
(
"You do not have enabled old or new style auth option for auth timelimit header. I will enable both. Please set
\"
header_timelimit
\"
."
);
url_info
->
timelimit_header
=
strdup
(
DEFAULT_HEADER_OLD_TIMELIMIT
);
url_info
->
timelimit_header
=
strdup
(
DEFAULT_HEADER_NEW_TIMELIMIT
);
url_info
->
header_timelimit
=
strdup
(
DEFAULT_HEADER_NEW_TIMELIMIT
);
}
if
(
url_info
->
auth_header
)
...
...
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