[vlc-commits] [Git][videolan/vlc][3.0.x] playlist: itml: check node value
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Sun Sep 13 11:42:11 UTC 2026
François Cartegnie pushed to branch 3.0.x at VideoLAN / VLC
Commits:
2b7f0267 by François Cartegnie at 2026-09-13T13:19:29+02:00
playlist: itml: check node value
fixes #30092
(cherry picked from commit 1a8533156079724db7b63dc6cb73675c76458b14)
- - - - -
1 changed file:
- modules/demux/playlist/itml.c
Changes:
=====================================
modules/demux/playlist/itml.c
=====================================
@@ -230,7 +230,7 @@ static bool parse_dict( stream_t *p_demux, input_item_node_t *p_input_node,
if( !strcmp( p_handler->name, "key" ) )
{
free( psz_key );
- psz_key = strdup( psz_value );
+ psz_key = psz_value ? strdup( psz_value ) : NULL;
}
/* call the simple handler */
else if( p_handler->pf_handler.smpl )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2b7f02673a0146f4bba399cb2477c86e56edb807
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2b7f02673a0146f4bba399cb2477c86e56edb807
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list