Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
6bfbdea9
Commit
6bfbdea9
authored
Dec 22, 2003
by
Sam Hocevar
Browse files
* modules/demux/asf/asf.c: Fixed a buffer overflow.
parent
789f166b
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/asf/asf.c
View file @
6bfbdea9
...
...
@@ -2,7 +2,7 @@
* asf.c : ASFv01 file input module for vlc
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: asf.c,v 1.4
6
2003/1
1
/2
3 13:15:27 gbazin
Exp $
* $Id: asf.c,v 1.4
7
2003/1
2
/2
2 00:26:01 sam
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -319,9 +319,10 @@ static int Open( vlc_object_t * p_this )
if
(
p_sys
->
stream
[
i
]
)
{
char
psz_cat
[
sizeof
(
_
(
"Stream
"
))
+
10
]
;
sprintf
(
psz_cat
,
_
(
"Stream
%d
"
),
i_stream
);
char
*
psz_cat
=
malloc
(
strlen
(
_
(
"Stream"
))
+
10
)
;
sprintf
(
psz_cat
,
"%s %d"
,
_
(
"Stream"
),
i_stream
);
p_cat
=
input_InfoCategory
(
p_input
,
psz_cat
);
free
(
psz_cat
);
if
(
p_cl
&&
i_stream
<
p_cl
->
i_codec_entries_count
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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