```
==22973==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1ebc6ed461 bp 0x7ffdc46521b0 sp 0x7ffdc4651948 T0)
==22973==The signal is caused by a READ memory access.
==22973==Hint: address points to the zero page.
    #0 0x7f1ebc6ed461  /build/glibc-CVJwZb/glibc-2.27/string/../sysdeps/x86_64/multiarch/strlen-avx2.S:65
    #1 0x43a31c in __interceptor_strlen.part.35 /home/eval/build/llvm_tools/llvm-11.0.0.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:370
    #2 0x5051c9 in newVar_N /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:642:23
    #3 0x50363d in decompileArithmeticOp /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c
    #4 0x4fd01a in decompileAction /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:3292:10
    #5 0x50470c in decompileActions /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:3401:6
    #6 0x507223 in decompile5Action /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:3423:2
    #7 0x4f2315 in outputSWF_DEFINEBUTTON2 /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/outputscript.c:932:2
    #8 0x4f88cd in outputBlock /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/outputscript.c:2079:4
    #9 0x4fbfa9 in readMovie /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/main.c:277:4
    #10 0x4fb633 in main /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/main.c:350:2
    #11 0x7f1ebc580c86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310
    #12 0x41cce9 in _start (/home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/swftophp+0x41cce9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /build/glibc-CVJwZb/glibc-2.27/string/../sysdeps/x86_64/multiarch/strlen-avx2.S:65 
==22973==ABORTING
```
[poc-11.zip](https://github.com/libming/libming/files/12116214/poc-11.zip)

SEGC error in newVar_N
This is a GitHub Issue
repo:libming
owner:libming
Title : SEGC error in newVar_N
Issue date:

--- start body ---
```
==22973==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1ebc6ed461 bp 0x7ffdc46521b0 sp 0x7ffdc4651948 T0)
==22973==The signal is caused by a READ memory access.
==22973==Hint: address points to the zero page.
    #0 0x7f1ebc6ed461  /build/glibc-CVJwZb/glibc-2.27/string/../sysdeps/x86_64/multiarch/strlen-avx2.S:65
    #1 0x43a31c in __interceptor_strlen.part.35 /home/eval/build/llvm_tools/llvm-11.0.0.src/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:370
    #2 0x5051c9 in newVar_N /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:642:23
    #3 0x50363d in decompileArithmeticOp /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c
    #4 0x4fd01a in decompileAction /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:3292:10
    #5 0x50470c in decompileActions /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:3401:6
    #6 0x507223 in decompile5Action /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/decompile.c:3423:2
    #7 0x4f2315 in outputSWF_DEFINEBUTTON2 /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/outputscript.c:932:2
    #8 0x4f88cd in outputBlock /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/outputscript.c:2079:4
    #9 0x4fbfa9 in readMovie /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/main.c:277:4
    #10 0x4fb633 in main /home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/../../util/main.c:350:2
    #11 0x7f1ebc580c86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310
    #12 0x41cce9 in _start (/home/eval/Desktop/libming-CVE-2018-8962/obj-aflgo/util/swftophp+0x41cce9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /build/glibc-CVJwZb/glibc-2.27/string/../sysdeps/x86_64/multiarch/strlen-avx2.S:65 
==22973==ABORTING
```
[poc-11.zip](https://github.com/libming/libming/files/12116214/poc-11.zip)

--- end body ---

A segmentation fault in the newVar_N function of libming indicates a potential vulnerability that could be exploited to cause a Denial of Service (DoS) or potentially execute arbitrary code. The error occurs due to a null pointer dereference when attempting to read memory, which can be triggered by specially crafted input files.