In function gf_isom_get_meta_item_info() and gf_isom_extract_meta_item_intern() in src/isomedia/meta.c, a should be checked before used in case it's NULL.

https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/meta.c#L176-L184
https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/meta.c#L272-L280
potential NULL pointer dereference in isomedia/meta.c
This is a GitHub Issue
repo:gpac
owner:gpac
Title : potential NULL pointer dereference in isomedia/meta.c
Issue date:

--- start body ---
In function gf_isom_get_meta_item_info() and gf_isom_extract_meta_item_intern() in src/isomedia/meta.c, a should be checked before used in case it's NULL.

https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/meta.c#L176-L184
https://github.com/gpac/gpac/blob/9f143de8c6180be433259329ecfac302f39e5df1/src/isomedia/meta.c#L272-L280
--- end body ---

Potential NULL pointer dereference in the functions gf_isom_get_meta_item_info() and gf_isom_extract_meta_item_intern() in the GPAC library. If the variable 'a' is NULL, it could lead to undefined behavior or application crashes when dereferenced.