https://github.com/gpac/gpac/blob/4a8000c4595bcff82fe54afc4f6a515c2e1322ba/src/media_tools/media_import.c#L346-L352

The `origin_esd->decoderConfig` is not checked before referenced.
Possible null pointer dereference in gf_import_isomedia_track()
This is a GitHub Issue
repo:gpac
owner:gpac
Title : Possible null pointer dereference in gf_import_isomedia_track()
Issue date:

--- start body ---
https://github.com/gpac/gpac/blob/4a8000c4595bcff82fe54afc4f6a515c2e1322ba/src/media_tools/media_import.c#L346-L352

The `origin_esd->decoderConfig` is not checked before referenced.
--- end body ---

The issue describes a potential null pointer dereference in the function gf_import_isomedia_track() within the GPAC library. If the variable `origin_esd` is null or if `origin_esd->decoderConfig` is null, dereferencing it could lead to a segmentation fault or crash, which is a security vulnerability that could be exploited by an attacker to cause a denial of service or potentially execute arbitrary code.