In function gf_isom_rtp_set_timescale(), gf_isom_rtp_set_time_offset() and gf_isom_rtp_set_time_sequence_offset() in src/isomedia/hint_track.c, hdesc should be checked before used in case it's NULL.

https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/hint_track.c#L233-L238
https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/hint_track.c#L264-L269
https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/hint_track.c#L296-L301

potential NULL pointer dereference in isomedia/hint_track.c
This is a GitHub Issue
repo:gpac
owner:gpac
Title : potential NULL pointer dereference in isomedia/hint_track.c
Issue date:

--- start body ---
In function gf_isom_rtp_set_timescale(), gf_isom_rtp_set_time_offset() and gf_isom_rtp_set_time_sequence_offset() in src/isomedia/hint_track.c, hdesc should be checked before used in case it's NULL.

https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/hint_track.c#L233-L238
https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/hint_track.c#L264-L269
https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/hint_track.c#L296-L301

--- end body ---
