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
35e22a00
Commit
35e22a00
authored
Mar 19, 2003
by
Michael Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix lack of null terminator in audio info/stats stuff.
svn path=/trunk/icecast/; revision=4512
parent
5457dd83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/source.c
src/source.c
+1
-0
No files found.
src/source.c
View file @
35e22a00
...
...
@@ -685,6 +685,7 @@ static int _parse_audio_info(source_t *source, char *s)
if
(
pvar
)
{
variable
=
(
char
*
)
malloc
(
pvar
-
token
+
1
);
strncpy
(
variable
,
token
,
pvar
-
token
);
variable
[
pvar
-
token
]
=
0
;
pvar
++
;
if
(
strlen
(
pvar
))
{
value
=
util_url_unescape
(
pvar
);
...
...
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