Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
90f8b8a8 by Lyndon Brown at 2022-01-03T08:20:39+00:00
mock-demux: fix invalid free

- - - - -


1 changed file:

- modules/demux/mock.c


Changes:

=====================================
modules/demux/mock.c
=====================================
@@ -279,6 +279,7 @@ CreateTitle(demux_t *demux, size_t idx)
          && asprintf(&t->seekpoint[i]->psz_name, "Mock Chapter %zu-%zu", idx, 
i)
             == -1)
         {
+            t->seekpoint[i]->psz_name = NULL;
             vlc_input_title_Delete(t);
             return NULL;
         }



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/90f8b8a836ab668a9a8e0cd218dcd0dbaa46fd5e

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/90f8b8a836ab668a9a8e0cd218dcd0dbaa46fd5e
You're receiving this email because of your account on code.videolan.org.


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to