[vlc-commits] [Git][videolan/vlc][master] playlist: itml: check node value

François Cartegnie (@fcartegnie) gitlab at videolan.org
Mon Sep 7 08:02:04 UTC 2026



François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
1a853315 by François Cartegnie at 2026-09-07T09:51:51+02:00
playlist: itml: check node value

fixes #30092

- - - - -


1 changed file:

- modules/demux/playlist/itml.c


Changes:

=====================================
modules/demux/playlist/itml.c
=====================================
@@ -232,7 +232,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/1a8533156079724db7b63dc6cb73675c76458b14

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1a8533156079724db7b63dc6cb73675c76458b14
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