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
c2b3ed71
Commit
c2b3ed71
authored
Apr 19, 2004
by
Michael Smith
Browse files
Fix overflow when base64 decoding invalid base64.
svn path=/icecast/trunk/icecast/; revision=6533
parent
a66e69cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util.c
View file @
c2b3ed71
...
...
@@ -450,6 +450,7 @@ char *util_base64_decode(unsigned char *input)
vals
[
3
]
=
base64decode
[
*
input
++
];
if
(
vals
[
0
]
<
0
||
vals
[
1
]
<
0
||
vals
[
2
]
<
-
1
||
vals
[
3
]
<
-
1
)
{
len
-=
4
;
continue
;
}
...
...
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