[Git][videolan/libdvbpsi][master] dr_7c.c: use reallocated memory

"Jean-Paul Saman (@jpsaman)" <[email protected]> Thu, 21 Nov 2024 12:35:07 +0100
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
--===============6261487792714550627==
Content-Type: multipart/alternative;
 boundary="--==_mimepart_673f1aeb75509_2b114f21dd30442937354";
 charset=UTF-8
Content-Transfer-Encoding: 7bit


----==_mimepart_673f1aeb75509_2b114f21dd30442937354
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit



Jean-Paul Saman pushed to branch master at VideoLAN / libdvbpsi


Commits:
4b159072 by Jean-Paul Saman at 2024-11-21T10:46:04+00:00
dr_7c.c: use reallocated memory

- - - - -


1 changed file:

- src/descriptors/dvb/dr_7c.c


Changes:

=====================================
src/descriptors/dvb/dr_7c.c
=====================================
@@ -259,6 +259,7 @@ dvbpsi_dvb_aac_dr_t *dvbpsi_decode_dvb_aac_dr(dvbpsi_descriptor_t *p_descriptor)
             free(p_decoded);
             return NULL;
         }
+        p_decoded = p_tmp;
         p_decoded->p_additional_info = ((uint8_t*)p_tmp + sizeof(dvbpsi_dvb_aac_dr_t));
         p_decoded->i_additional_info_length = i_info_length;
 



View it on GitLab: https://code.videolan.org/videolan/libdvbpsi/-/commit/4b159072824f5af898cb0b8ceaf9fe6f7a029780

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvbpsi/-/commit/4b159072824f5af898cb0b8ceaf9fe6f7a029780
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
----==_mimepart_673f1aeb75509_2b114f21dd30442937354--

--===============6261487792714550627==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============6261487792714550627==--