Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
42f763bf
Commit
42f763bf
authored
Nov 18, 2014
by
ePirat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experimental fix for memory errors when using a lot of headers, see
#1885
svn path=/icecast/trunk/icecast/; revision=19316
parent
c8791e3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/xslt.c
src/xslt.c
+3
-4
No files found.
src/xslt.c
View file @
42f763bf
...
...
@@ -232,12 +232,11 @@ void xslt_transform(xmlDocPtr doc, const char *xslfilename, client_t *client)
if
(
problem
==
0
)
{
size_t
full_len
=
strlen
(
mediatype
)
+
len
+
1024
;
refbuf_t
*
refbuf
=
refbuf_new
(
full_len
);
ssize_t
ret
;
int
failed
=
0
;
if
(
full_len
<
4096
)
full_len
=
4096
;
refbuf_t
*
refbuf
=
refbuf_new
(
full_len
);
ssize_t
ret
;
int
failed
=
0
;
if
(
string
==
NULL
)
string
=
xmlCharStrdup
(
""
);
...
...
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