[vlc-commits] [Git][videolan/vlc][master] osd: epg: fix null deref on missing next event
François Cartegnie (@fcartegnie)
gitlab at videolan.org
Tue May 24 09:39:14 UTC 2022
François Cartegnie pushed to branch master at VideoLAN / VLC
Commits:
1c3fc96a by Francois Cartegnie at 2022-05-24T09:13:21+00:00
osd: epg: fix null deref on missing next event
refs #26905
- - - - -
1 changed file:
- src/video_output/video_epg.c
Changes:
=====================================
src/video_output/video_epg.c
=====================================
@@ -374,7 +374,7 @@ static void vout_FillRightPanel(epg_spu_updater_sys_t *p_sys,
last_ptr = &(*last_ptr)->p_next;
}
- if(p_sys->time)
+ if(p_sys->time && p_sys->epg->p_current)
{
f_progress = (p_sys->time - p_sys->epg->p_current->i_start) /
(float)p_sys->epg->p_current->i_duration;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1c3fc96a3446d26879cfc190100a0c87fc954dbc
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1c3fc96a3446d26879cfc190100a0c87fc954dbc
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list