Hi, I found a null pointer reference problem.
version: 0.4.8
command: swftophp poc
poc:
[decompile.c_425_10.tar.gz](https://github.com/libming/libming/files/7273131/decompile.c_425_10.tar.gz)

Here is the report from ASAN:
```
header indicates a filesize of 4010211878 but filesize is 519
<?php
$m = new SWFMovie(24);

ming_setscale(1.0);
$m->setRate(6.023438);
$m->setDimension(2, 4);

/* Note: xMin and/or yMin are not 0! */

$m->setFrames(1542);

/* SWF_DOACTION */
ASAN:DEADLYSIGNAL
=================================================================
==68234==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x000000549731 bp 0x7fffbcb11ea0 sp 0x7fffbcb11e00 T0)
==68234==The signal is caused by a READ memory access.
==68234==Hint: address points to the zero page.
    #0 0x549730 in getInt /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:425:10
    #1 0x5498dd in getInt /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:432:10
    #2 0x52f602 in decompileGETPROPERTY /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:1390:47
    #3 0x52bbf6 in decompileAction /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:3167:3
    #4 0x545f60 in decompileActions /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:3401:6
    #5 0x545b66 in decompile5Action /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:3423:2
    #6 0x51f261 in outputSWF_DOACTION /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/outputscript.c:1548:29
    #7 0x51c3c9 in outputBlock /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/outputscript.c:2079:4
    #8 0x52855e in readMovie /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/main.c:277:4
    #9 0x526bbc in main /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/main.c:350:2
    #10 0x7f356e6d083f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2083f)
    #11 0x419ed8 in _start (/home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/swftophp+0x419ed8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:425:10 in getInt
==68234==ABORTING
```
Null pointer reference in getInt
This is a GitHub Issue
repo:libming
owner:libming
Title : Null pointer reference in getInt
Issue date:

--- start body ---
Hi, I found a null pointer reference problem.
version: 0.4.8
command: swftophp poc
poc:
[decompile.c_425_10.tar.gz](https://github.com/libming/libming/files/7273131/decompile.c_425_10.tar.gz)

Here is the report from ASAN:
```
header indicates a filesize of 4010211878 but filesize is 519
<?php
$m = new SWFMovie(24);

ming_setscale(1.0);
$m->setRate(6.023438);
$m->setDimension(2, 4);

/* Note: xMin and/or yMin are not 0! */

$m->setFrames(1542);

/* SWF_DOACTION */
ASAN:DEADLYSIGNAL
=================================================================
==68234==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x000000549731 bp 0x7fffbcb11ea0 sp 0x7fffbcb11e00 T0)
==68234==The signal is caused by a READ memory access.
==68234==Hint: address points to the zero page.
    #0 0x549730 in getInt /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:425:10
    #1 0x5498dd in getInt /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:432:10
    #2 0x52f602 in decompileGETPROPERTY /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:1390:47
    #3 0x52bbf6 in decompileAction /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:3167:3
    #4 0x545f60 in decompileActions /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:3401:6
    #5 0x545b66 in decompile5Action /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:3423:2
    #6 0x51f261 in outputSWF_DOACTION /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/outputscript.c:1548:29
    #7 0x51c3c9 in outputBlock /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/outputscript.c:2079:4
    #8 0x52855e in readMovie /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/main.c:277:4
    #9 0x526bbc in main /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/main.c:350:2
    #10 0x7f356e6d083f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2083f)
    #11 0x419ed8 in _start (/home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/swftophp+0x419ed8)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/radon/Documents/project/libming/libming-0_4_8/obj-asan/util/../../util/decompile.c:425:10 in getInt
==68234==ABORTING
```
--- end body ---

A null pointer dereference in the getInt function of libming version 0.4.8 can lead to a segmentation fault when processing certain SWF files. This vulnerability can be exploited by providing a specially crafted SWF file that triggers the null pointer access, potentially leading to a Denial of Service (DoS) condition.