Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
6bfbdea9
Commit
6bfbdea9
authored
Dec 22, 2003
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/asf/asf.c: Fixed a buffer overflow.
parent
789f166b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+4
-3
No files found.
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/11/23 13:15:27 gbazin
Exp $
* $Id: asf.c,v 1.4
7 2003/12/22 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
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