Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6eedf20f
Commit
6eedf20f
authored
Mar 19, 2010
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid integer overflow
parent
9b944bbb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+1
-1
modules/demux/avi/libavi.c
modules/demux/avi/libavi.c
+1
-1
modules/demux/mp4/libmp4.c
modules/demux/mp4/libmp4.c
+1
-1
No files found.
modules/demux/asf/libasf.c
View file @
6eedf20f
...
@@ -1487,7 +1487,7 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj,
...
@@ -1487,7 +1487,7 @@ static void ASF_ObjectDumpDebug( vlc_object_t *p_obj,
psz_name
=
ASF_ObjectDumpDebugInfo
[
i
].
psz_name
;
psz_name
=
ASF_ObjectDumpDebugInfo
[
i
].
psz_name
;
char
str
[
512
];
char
str
[
512
];
if
(
i_level
*
5
+
1
>=
sizeof
(
str
)
)
if
(
i_level
>=
(
sizeof
(
str
)
-
1
)
/
5
)
return
;
return
;
memset
(
str
,
' '
,
sizeof
(
str
)
);
memset
(
str
,
' '
,
sizeof
(
str
)
);
...
...
modules/demux/avi/libavi.c
View file @
6eedf20f
...
@@ -803,7 +803,7 @@ static void AVI_ChunkDumpDebug_level( vlc_object_t *p_obj,
...
@@ -803,7 +803,7 @@ static void AVI_ChunkDumpDebug_level( vlc_object_t *p_obj,
avi_chunk_t
*
p_child
;
avi_chunk_t
*
p_child
;
char
str
[
512
];
char
str
[
512
];
if
(
i_level
*
5
+
1
>=
sizeof
(
str
)
)
if
(
i_level
>=
(
sizeof
(
str
)
-
1
)
/
5
)
return
;
return
;
memset
(
str
,
' '
,
sizeof
(
str
)
);
memset
(
str
,
' '
,
sizeof
(
str
)
);
...
...
modules/demux/mp4/libmp4.c
View file @
6eedf20f
...
@@ -2895,7 +2895,7 @@ static void __MP4_BoxDumpStructure( stream_t *s,
...
@@ -2895,7 +2895,7 @@ static void __MP4_BoxDumpStructure( stream_t *s,
unsigned
int
i
;
unsigned
int
i
;
char
str
[
512
];
char
str
[
512
];
if
(
i_level
*
5
+
1
>=
sizeof
(
str
)
)
if
(
i_level
>=
(
sizeof
(
str
)
-
1
)
/
5
)
return
;
return
;
memset
(
str
,
' '
,
sizeof
(
str
)
);
memset
(
str
,
' '
,
sizeof
(
str
)
);
...
...
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