vlc | branch: master | Francois Cartegnie <[email protected]> | Sat Nov 30 20:46:36 2013 +0100| [28288a4762a39df4d5e7880cb6b58f9740edc472] | committer: Francois Cartegnie
vlmshell: fix null pointer dereference (cid #1049028) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28288a4762a39df4d5e7880cb6b58f9740edc472 --- src/input/vlmshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c index 97edd90..2573f81 100644 --- a/src/input/vlmshell.c +++ b/src/input/vlmshell.c @@ -854,7 +854,7 @@ int ExecuteCommand( vlm_t *p_vlm, const char *psz_command, if( !psz_buf || !ppsz_command ) { - p_message = vlm_MessageNew( ppsz_command[0], + p_message = vlm_MessageNew( ( ppsz_command ) ? ppsz_command[0] : NULL, "Memory allocation failed for command of length %zu", i_command_len ); goto error; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
