Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
97bf3e7d
Commit
97bf3e7d
authored
Jul 23, 2002
by
Sam Hocevar
Browse files
* ./src/input/input_info.c, ./src/misc/messages.c: initialized the first
vasprintf arguments to NULL for extra safety.
parent
4b1b77b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/input/input_info.c
View file @
97bf3e7d
...
...
@@ -2,7 +2,7 @@
* input_info.c: Convenient functions to handle the input info structures
*****************************************************************************
* Copyright (C) 1998-2001 VideoLAN
* $Id: input_info.c,v 1.
2
2002/07/2
2 21:14:30 sigmunau
Exp $
* $Id: input_info.c,v 1.
3
2002/07/2
3 00:30:22 sam
Exp $
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
...
...
@@ -75,7 +75,7 @@ int input_AddInfo( input_info_category_t * p_category, char * psz_name,
char
*
psz_format
,
...)
{
input_info_t
*
p_info
,
*
p_prev
;
char
*
psz_str
;
char
*
psz_str
=
NULL
;
va_list
args
;
p_prev
=
NULL
;
...
...
src/misc/messages.c
View file @
97bf3e7d
...
...
@@ -4,7 +4,7 @@
* modules, especially intf modules. See config.h for output configuration.
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
* $Id: messages.c,v 1.
4
2002/07/
15 19:15:05
sam Exp $
* $Id: messages.c,v 1.
5
2002/07/
23 00:30:22
sam Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -237,7 +237,7 @@ DECLARE_MSG_FN( __msg_Dbg, VLC_MSG_DBG );
static
void
QueueMsg
(
vlc_object_t
*
p_this
,
int
i_type
,
const
char
*
psz_module
,
const
char
*
psz_format
,
va_list
args
)
{
char
*
psz_str
;
/* formatted message string */
char
*
psz_str
=
NULL
;
/* formatted message string */
msg_item_t
*
p_item
;
/* pointer to message */
msg_item_t
item
;
/* message in case of a full queue */
#ifdef WIN32
...
...
Write
Preview
Supports
Markdown
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