- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Hi, there.

There is a segmentation fault caused by null pointer dereference in gf_isom_parse_movie_boxes_internal, isom_intern.c:628 in commit  592ba2689a3.

Here is my environment, compiler info and gpac version:
~~~~
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
gcc: 5.4.0

MP4Box - GPAC version 1.1.0-DEV-rev1170-g592ba26-master
(c) 2000-2021 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io
	MINI build (encoders, decoders, audio and video output disabled)

Please cite our work in your research:
	GPAC Filters: https://doi.org/10.1145/3339825.3394929
	GPAC: https://doi.org/10.1145/1291233.1291452

GPAC Configuration: --static-bin --enable-debug
Features: GPAC_CONFIG_LINUX GPAC_64_BITS GPAC_HAS_SOCK_UN GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_FREETYPE GPAC_HAS_JPEG GPAC_HAS_PNG  GPAC_DISABLE_3D
~~~~

To reproduce, run
~~~~
./MP4Box -info poc
~~~~

POC:
[link](https://www.mediafire.com/file/hscjpree353c8ai/mp4box-npd_gf_isom_parse_movie_boxes_internal628.zip/file) to dropbox
(unzip first)

Here is the trace reported by gdb:
~~~~
#0  0x00000000005a04ae in gf_isom_parse_movie_boxes_internal (mov=0x1238220, boxType=0x0, bytesMissing=0x7fffffff9318, progressive_mode=GF_FALSE) at /mnt/data/playground/gpac/src/isomedia/isom_intern.c:628
#1  0x00000000005a0c01 in gf_isom_parse_movie_boxes (mov=0x1238220, boxType=0x0, bytesMissing=0x7fffffff9318, progressive_mode=GF_FALSE) at /mnt/data/playground/gpac/src/isomedia/isom_intern.c:781
#2  0x00000000005a0f98 in gf_isom_open_file (fileName=0x7fffffffe0f0 "poc", OpenMode=GF_ISOM_OPEN_READ_DUMP, tmp_dir=0x0) at /mnt/data/playground/gpac/src/isomedia/isom_intern.c:901
#3  0x00000000005a3e83 in gf_isom_open (fileName=0x7fffffffe0f0 "poc", OpenMode=GF_ISOM_OPEN_READ_DUMP, tmp_dir=0x0) at /mnt/data/playground/gpac/src/isomedia/isom_read.c:509
#4  0x00000000004164d3 in mp4boxMain (argc=0x3, argv=0x7fffffffdd78) at /mnt/data/playground/gpac/applications/mp4box/main.c:5841
#5  0x0000000000418d6b in main (argc=0x3, argv=0x7fffffffdd78) at /mnt/data/playground/gpac/applications/mp4box/main.c:6455
#6  0x0000000000caaa06 in generic_start_main ()
#7  0x0000000000caaff5 in __libc_start_main ()
#8  0x0000000000403f39 in _start ()
~~~~

Segmentation fault casued by null pointer dereference using mp4box in gf_isom_parse_movie_boxes_internal, isom_intern.c:628 
This is a GitHub Issue
repo:gpac
owner:gpac
Title : Segmentation fault casued by null pointer dereference using mp4box in gf_isom_parse_movie_boxes_internal, isom_intern.c:628 
Issue date:

--- start body ---
- [x] I looked for a similar issue and couldn't find any.
- [x] I tried with the latest version of GPAC. Installers available at http://gpac.io/downloads/gpac-nightly-builds/
- [x] I give enough information for contributors to reproduce my issue (meaningful title, github labels, platform and compiler, command-line ...). I can share files anonymously with this dropbox: https://www.mediafire.com/filedrop/filedrop_hosted.php?drop=eec9e058a9486fe4e99c33021481d9e1826ca9dbc242a6cfaab0fe95da5e5d95

Hi, there.

There is a segmentation fault caused by null pointer dereference in gf_isom_parse_movie_boxes_internal, isom_intern.c:628 in commit  592ba2689a3.

Here is my environment, compiler info and gpac version:
~~~~
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
gcc: 5.4.0

MP4Box - GPAC version 1.1.0-DEV-rev1170-g592ba26-master
(c) 2000-2021 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io
	MINI build (encoders, decoders, audio and video output disabled)

Please cite our work in your research:
	GPAC Filters: https://doi.org/10.1145/3339825.3394929
	GPAC: https://doi.org/10.1145/1291233.1291452

GPAC Configuration: --static-bin --enable-debug
Features: GPAC_CONFIG_LINUX GPAC_64_BITS GPAC_HAS_SOCK_UN GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_FREETYPE GPAC_HAS_JPEG GPAC_HAS_PNG  GPAC_DISABLE_3D
~~~~

To reproduce, run
~~~~
./MP4Box -info poc
~~~~

POC:
[link](https://www.mediafire.com/file/hscjpree353c8ai/mp4box-npd_gf_isom_parse_movie_boxes_internal628.zip/file) to dropbox
(unzip first)

Here is the trace reported by gdb:
~~~~
#0  0x00000000005a04ae in gf_isom_parse_movie_boxes_internal (mov=0x1238220, boxType=0x0, bytesMissing=0x7fffffff9318, progressive_mode=GF_FALSE) at /mnt/data/playground/gpac/src/isomedia/isom_intern.c:628
#1  0x00000000005a0c01 in gf_isom_parse_movie_boxes (mov=0x1238220, boxType=0x0, bytesMissing=0x7fffffff9318, progressive_mode=GF_FALSE) at /mnt/data/playground/gpac/src/isomedia/isom_intern.c:781
#2  0x00000000005a0f98 in gf_isom_open_file (fileName=0x7fffffffe0f0 "poc", OpenMode=GF_ISOM_OPEN_READ_DUMP, tmp_dir=0x0) at /mnt/data/playground/gpac/src/isomedia/isom_intern.c:901
#3  0x00000000005a3e83 in gf_isom_open (fileName=0x7fffffffe0f0 "poc", OpenMode=GF_ISOM_OPEN_READ_DUMP, tmp_dir=0x0) at /mnt/data/playground/gpac/src/isomedia/isom_read.c:509
#4  0x00000000004164d3 in mp4boxMain (argc=0x3, argv=0x7fffffffdd78) at /mnt/data/playground/gpac/applications/mp4box/main.c:5841
#5  0x0000000000418d6b in main (argc=0x3, argv=0x7fffffffdd78) at /mnt/data/playground/gpac/applications/mp4box/main.c:6455
#6  0x0000000000caaa06 in generic_start_main ()
#7  0x0000000000caaff5 in __libc_start_main ()
#8  0x0000000000403f39 in _start ()
~~~~

--- end body ---
