Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
612a5049
Commit
612a5049
authored
Aug 04, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avserver: do not use a static string as a default for a string option
Fixes an invalid free. Bug-id: 448
parent
7684a361
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
avserver.c
avserver.c
+3
-1
No files found.
avserver.c
View file @
612a5049
...
@@ -301,7 +301,7 @@ static int rtp_new_av_stream(HTTPContext *c,
...
@@ -301,7 +301,7 @@ static int rtp_new_av_stream(HTTPContext *c,
static
const
char
*
my_program_name
;
static
const
char
*
my_program_name
;
static
const
char
*
config_filename
=
"/etc/avserver.conf"
;
static
const
char
*
config_filename
;
static
int
avserver_debug
;
static
int
avserver_debug
;
static
int
no_launch
;
static
int
no_launch
;
...
@@ -4633,6 +4633,8 @@ int main(int argc, char **argv)
...
@@ -4633,6 +4633,8 @@ int main(int argc, char **argv)
{
{
struct
sigaction
sigact
=
{
{
0
}
};
struct
sigaction
sigact
=
{
{
0
}
};
config_filename
=
av_strdup
(
"/etc/avserver.conf"
);
parse_loglevel
(
argc
,
argv
,
options
);
parse_loglevel
(
argc
,
argv
,
options
);
av_register_all
();
av_register_all
();
avformat_network_init
();
avformat_network_init
();
...
...
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