[vlc-commits] [Git][videolan/vlc][master] rtp: raw: fix use-after-free
Rémi Denis-Courmont (@Courmisch)
gitlab at videolan.org
Tue Jun 21 15:19:56 UTC 2022
Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
138b4676 by Alexandre Janniaux at 2022-06-21T14:32:21+00:00
rtp: raw: fix use-after-free
- - - - -
1 changed file:
- modules/access/rtp/raw.c
Changes:
=====================================
modules/access/rtp/raw.c
=====================================
@@ -158,8 +158,8 @@ static int rtp_raw_open(vlc_object_t *obj, struct vlc_rtp_pt *pt,
|| vlc_sdp_fmtp_get(desc, "width", &sys->width)
|| vlc_sdp_fmtp_get(desc, "height", &sys->height)
|| vlc_sdp_fmtp_get(desc, "depth", &sys->depth)) {
+ vlc_error(obj->logger, "missing parameters for raw video");
free(sys);
- vlc_error(sys->log, "missing parameters for raw video");
return VLC_EINVAL;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/138b46764c8679687c0d62cd0c82d9dde0a4f226
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/138b46764c8679687c0d62cd0c82d9dde0a4f226
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