rtpjitterbuffer: Check if item is not null before dereferencing it 35/258035/1
authorSangchul Lee <sc11.lee@samsung.com>
Sun, 9 May 2021 23:51:09 +0000 (08:51 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 10 May 2021 00:35:16 +0000 (09:35 +0900)
[Version] 1.16.2-24
[Issue Type] SVACE (DEREF_AFTER_NULL)

Change-Id: I595e4cd750b7a2f51ee66cbf9e37a17388f7437e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
gst/rtpmanager/rtpjitterbuffer.c
packaging/gst-plugins-good.spec

index 6ef7df2abfa2f5f3cd4709d9634968fbc21ba412..7d86dc03ace6af14871ab68a378c622b65be99e1 100644 (file)
@@ -1259,6 +1259,9 @@ rtp_jitter_buffer_pop (RTPJitterBuffer * jbuf, gint * percent)
 
   /* let's clear the pointers so we can ensure we don't free items that are
    * still in the jitterbuffer */
+#ifdef __TIZEN__
+  if (item)
+#endif
   item->next = item->prev = NULL;
 
   return (RTPJitterBufferItem *) item;
index 098a9554ec2ae54f7cddf8ad0e216a97b26a798b..224ed29a837e46f117475fb7c66581bfa5387110 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:           gst-plugins-good
 Version:        1.16.2
-Release:        23
+Release:        24
 License:        LGPL-2.1+
 Summary:        GStreamer Streaming-Media Framework Plug-Ins
 Url:            http://gstreamer.freedesktop.org/