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
bb23bf8f
Commit
bb23bf8f
authored
Sep 10, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/avfilter: fix null pointer dereference with queued ping filters
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9b07d34e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
avfilter.c
libavfilter/avfilter.c
+8
-0
No files found.
libavfilter/avfilter.c
View file @
bb23bf8f
...
...
@@ -427,7 +427,15 @@ void ff_update_link_current_pts(AVFilterLink *link, int64_t pts)
int
avfilter_process_command
(
AVFilterContext
*
filter
,
const
char
*
cmd
,
const
char
*
arg
,
char
*
res
,
int
res_len
,
int
flags
)
{
if
(
!
strcmp
(
cmd
,
"ping"
)){
char
local_res
[
256
]
=
{
0
};
if
(
!
res
)
{
res
=
local_res
;
res_len
=
sizeof
(
local_res
);
}
av_strlcatf
(
res
,
res_len
,
"pong from:%s %s
\n
"
,
filter
->
filter
->
name
,
filter
->
name
);
if
(
res
==
local_res
)
av_log
(
filter
,
AV_LOG_INFO
,
"%s"
,
res
);
return
0
;
}
else
if
(
!
strcmp
(
cmd
,
"enable"
))
{
return
set_enable_expr
(
filter
,
arg
);
...
...
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