=================================================================
==15039==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x7fabbc3058ea bp 0x7ffc629a27d0 sp 0x7ffc629a20a0 T0)
==15039==The signal is caused by a READ memory access.
==15039==Hint: address points to the zero page.
#0 0x7fabbc3058e9 in pe_imphash /home/karas/pev/lib/libpe/hashes.c:620:3
#1 0x50dfb0 in main /home/karas/pev/src/pehash.c:261:13
#2 0x7fabbacac1c0 in __libc_start_main /build/glibc-CxtIbX/glibc-2.26/csu/../csu/libc-start.c:308
#3 0x419b69 in _start (/home/karas/pev/run/home/karas/pev/run/bin/pehash+0x419b69)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/karas/pev/lib/libpe/hashes.c:620:3 in pe_imphash
==15039==ABORTING
==========
[Acknowledgement]
This work was supported by ICT R&D program of MSIP/IITP. [R7518-16-1001, Innovation hub for high Performance Computing]
Hello.
I found a NULL pointer dereference in pev.
Please confirm.
Thanks.
Summary: NULL pointer dereference OS: CentOS 7 64bit Version: dbdcd2cf79d133e7b2ee02f7ffaae528c012c51a PoC Download: null_pe_imphash.zip
Steps to reproduce: 1.Download the .POC files. 2.Compile the source code with ASan. 3.Execute the following command : ./pehash -a $PoC
========== [Acknowledgement] This work was supported by ICT R&D program of MSIP/IITP. [R7518-16-1001, Innovation hub for high Performance Computing]