Project: gpac (gpac/gpac), language: c++
Vulnerability instance: gpac.cve-2023-4756
Sanitizer: address

================= Bug Report (1/1) ==================
## Source: Huntr
## URL: https://huntr.dev/bounties/2342da0e-f097-4ce7-bfdc-3ec0ba446e05
## Description:
Description
stack-overflow in MP4Box
Version
$ ./bin/gcc/MP4Box -version
MP4Box - GPAC version 2.3-DEV-revrelease
(c) 2000-2023 Telecom Paris distributed under LGPL v2.1+ - http://gpac.io

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: --enable-sanitizer
Features: GPAC_CONFIG_LINUX GPAC_64_BITS GPAC_HAS_IPV6 GPAC_HAS_SSL GPAC_HAS_SOCK_UN GPAC_MINIMAL_ODF GPAC_HAS_QJS GPAC_HAS_LINUX_DVB  GPAC_DISABLE_3D
Reproduce
complie and run
./configure --enable-sanitizer
make
Proof of Concept
./bin/gcc/MP4Box -dash 1000 ./crash000173
poc_crash000437 is here.
ASAN details
information reported by sanitizer
$ ./bin/gcc/MP4Box -dash 1000 ./now_crashes/dash_442/crash000437
[Dasher] No template assigned, using $File$_dash$FS$$Number$
[Dasher] No template assigned, using $File$_dash$FS$$Number$
Failed to connect filter btplay PID crash000437 to filter dasher: Feature Not Supported
Blacklisting dasher as output from btplay and retrying connections
BT: X3D (WRL) Scene Parsing      | (10/100)
AddressSanitizer:DEADLYSIGNAL    | (39/100)
=================================================================
==377331==ERROR: AddressSanitizer: stack-overflow on address 0x7fff963d4ff8 (pc 0x7fa806c3908a bp 0x7fff963d5000 sp 0x7fff963d5000 T0)
    #0 0x7fa806c39089 in gf_gzseek utils/gzio.c:755
    #1 0x7fa8076228b0 in gf_bt_check_line scene_manager/loader_bt.c:164
    #2 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #3 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #4 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #5 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #6 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #7 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #8 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #9 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #10 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #11 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #12 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #13 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #14 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #15 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #16 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #17 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #18 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #19 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #20 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #21 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #22 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #23 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #24 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #25 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #26 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #27 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #28 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #29 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #30 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #31 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #32 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #33 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #34 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #35 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #36 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #37 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #38 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #39 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #40 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #41 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #42 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #43 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #44 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #45 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #46 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #47 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #48 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #49 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #50 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #51 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #52 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #53 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #54 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #55 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #56 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #57 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #58 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #59 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #60 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #61 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #62 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #63 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #64 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #65 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #66 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #67 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #68 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #69 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #70 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #71 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #72 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #73 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #74 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #75 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #76 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #77 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #78 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #79 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #80 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #81 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #82 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #83 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #84 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #85 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #86 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #87 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #88 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #89 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #90 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #91 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #92 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #93 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #94 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #95 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #96 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #97 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #98 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #99 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #100 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #101 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #102 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #103 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #104 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #105 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #106 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #107 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #108 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #109 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #110 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #111 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #112 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #113 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #114 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #115 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #116 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #117 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #118 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #119 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #120 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #121 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #122 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #123 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #124 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #125 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #126 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #127 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #128 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #129 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #130 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #131 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #132 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #133 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #134 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #135 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #136 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #137 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #138 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #139 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #140 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #141 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #142 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #143 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #144 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #145 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #146 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #147 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #148 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #149 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #150 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #151 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #152 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #153 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #154 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #155 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #156 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #157 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #158 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #159 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #160 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #161 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #162 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #163 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #164 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #165 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #166 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #167 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #168 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #169 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #170 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #171 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #172 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #173 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #174 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #175 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #176 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #177 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #178 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #179 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #180 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #181 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #182 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #183 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #184 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #185 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #186 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #187 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #188 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #189 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #190 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #191 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #192 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #193 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #194 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #195 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #196 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #197 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #198 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #199 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #200 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #201 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #202 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #203 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #204 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #205 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #206 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #207 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #208 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #209 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #210 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #211 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #212 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #213 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #214 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #215 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #216 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #217 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #218 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #219 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #220 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #221 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #222 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #223 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #224 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #225 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #226 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #227 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #228 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #229 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #230 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #231 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #232 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #233 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #234 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #235 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #236 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #237 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #238 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #239 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #240 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #241 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #242 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #243 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #244 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #245 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #246 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #247 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408
    #248 0x7fa807623fd7 in gf_bt_check_line scene_manager/loader_bt.c:408

SUMMARY: AddressSanitizer: stack-overflow utils/gzio.c:755 in gf_gzseek
==377331==ABORTING
Impact
This is capable of causing crashes.
References
poc_crash000437 is here.
Impact
This is capable of causing crashes.

Relevant Links:
https://github.com/gpac/gpac
https://gitee.com/FUNctionMain/mypoc/raw/master/poc_stack_overflow/crash000437
https://gitee.com/FUNctionMain/mypoc/raw/master/poc_stack_overflow/crash000437
https://github.com/gpac/gpac/blob/991d0b7bc95ed678628d3415810e59d233136884/src/scene_manager/loader_bt.c#L408
https://gitee.com/FUNctionMain/mypoc/raw/master/poc_stack_overflow/crash000437

Build script:
#!/bin/bash -eu
# Minimized build script with only core build commands
set -eu
./configure --static-build --extra-cflags="${CFLAGS}" --extra-ldflags="${CFLAGS}"
make -j$(nproc)

Dockerfile:
FROM hwiwonlee/secb.base:latest
RUN apt-get update && apt-get install -y build-essential pkg-config libz-dev
RUN git clone https://github.com/gpac/gpac gpac
RUN git -C gpac checkout 895ac12da168435eb8db3f96978ffa4c69d66c3a
WORKDIR $SRC/gpac
COPY build.sh $SRC/

Additional files: