Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c7e36118
Commit
c7e36118
authored
Sep 10, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
variables.c: void the buffer after the memmove to avoid reusing previous values
parent
aaf44538
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/misc/variables.c
src/misc/variables.c
+1
-0
No files found.
src/misc/variables.c
View file @
c7e36118
...
@@ -193,6 +193,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
...
@@ -193,6 +193,7 @@ int __var_Create( vlc_object_t *p_this, const char *psz_name, int i_type )
p_this
->
i_vars
++
;
p_this
->
i_vars
++
;
p_var
=
&
p_this
->
p_vars
[
i_new
];
p_var
=
&
p_this
->
p_vars
[
i_new
];
memset
(
p_var
,
0
,
sizeof
(
*
p_var
)
);
p_var
->
i_hash
=
HashString
(
psz_name
);
p_var
->
i_hash
=
HashString
(
psz_name
);
p_var
->
psz_name
=
strdup
(
psz_name
);
p_var
->
psz_name
=
strdup
(
psz_name
);
...
...
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