over read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jhead (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# enviroment
ubuntu 18.04
./jhead poc
# version
3.04
# asan out
ASAN:DEADLYSIGNAL
=======
==10836==ERROR: AddressSanitizer: SEGV on unknown address 0x624000052108 (pc 0x55bba233d316 bp 0x0fff9bb96ac2 sp 0x7ffcddcb5570 T0)
==10836==The signal is caused by a READ memory access.
#0 0x55bba233d315 in ProcessGpsInfo gpsinfo.c:122
#1 0x55bba232f4d5 in ProcessExifDir exif.c:866
#2 0x55bba233095a in process_EXIF exif.c:1041
#3 0x55bba231c382 in ReadJpegSections jpgfile.c:287
#4 0x55bba231d90e in ReadJpegSections jpgfile.c:126
#5 0x55bba231d90e in ReadJpegFile jpgfile.c:379
#6 0x55bba231366c in ProcessFile jhead.c:905
#7 0x55bba230eb2e in main jhead.c:1756
#8 0x7f785c448bf6 in __libc_start_main (/lib/x86_
#9 0x55bba2311279 in _start (/home/
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV gpsinfo.c:122 in ProcessGpsInfo
==10836==ABORTING