Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5ace144f
Commit
5ace144f
authored
Nov 09, 2011
by
Michael Niedermayer
Committed by
Anton Khirnov
Nov 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fraps: check for overread.
Signed-off-by:
Anton Khirnov
<
anton@khirnov.net
>
parent
51f316a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fraps.c
libavcodec/fraps.c
+4
-0
No files found.
libavcodec/fraps.c
View file @
5ace144f
...
...
@@ -111,6 +111,10 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w,
*/
if
(
j
)
dst
[
i
]
+=
dst
[
i
-
stride
];
else
if
(
Uoff
)
dst
[
i
]
+=
0x80
;
if
(
get_bits_left
(
&
gb
)
<
0
)
{
free_vlc
(
&
vlc
);
return
AVERROR_INVALIDDATA
;
}
}
dst
+=
stride
;
}
...
...
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