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

Jean-Paul Saman (@jpsaman) gitlab at videolan.org
Thu Nov 21 11:35:07 UTC 2024



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


More information about the libdvbpsi-devel mailing list