Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some NULL pointer bugs #189

Closed
skyvast404 opened this issue Jan 16, 2020 · 58 comments
Closed

Some NULL pointer bugs #189

skyvast404 opened this issue Jan 16, 2020 · 58 comments
Assignees
Labels
bug Something isn't working fuzzing Intentional illegal input
Milestone

Comments

@skyvast404
Copy link

Hi, I got some bugs which you can reproduce dxf2dwg $PoC -o /dev/null .Thses bugs work on version 0.10.1.2685 and earlier.

@skyvast404
Copy link
Author

skyvast404 commented Jan 16, 2020

NULL pointer 1
==8484==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f92bfd04e1a bp 0x7fffeebf38e0 sp 0x7fffeebf3040 T0)
==8484==The signal is caused by a READ memory access.
==8484==Hint: address points to the zero page.
#0 0x7f92bfd04e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f92bf75e324 in dxf_header_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:629
#2 0x7f92bf7e14b6 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7631
#3 0x7f92be8faee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x55a71107f465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f92be005b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x55a71107e489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)

@skyvast404
Copy link
Author

skyvast404 commented Jan 16, 2020

NULL pointer 2
==8497==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f57a080a7a4 bp 0x7ffd40d4f840 sp 0x7ffd40d4f800 T0)
==8497==The signal is caused by a READ memory access.
==8497==Hint: address points to the zero page.
#0 0x7f57a080a7a3 in dxf_thumbnail_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7308
#1 0x7f57a0810b86 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7707
#2 0x7f579f929ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#3 0x55ebd787b465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#4 0x7f579f034b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#5 0x55ebd787a489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7308 in dxf_thumbnail_read

@skyvast404
Copy link
Author

NULL pointer 3

==8503==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f0e8940fe1a bp 0x7fffe85e19a0 sp 0x7fffe85e1100 T0)
==8503==The signal is caused by a READ memory access.
==8503==Hint: address points to the zero page.
#0 0x7f0e8940fe19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f0e88e6f892 in dxf_classes_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1104
#2 0x7f0e88eec526 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7645
#3 0x7f0e88005ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x55c007306465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f0e87710b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x55c007305489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

@skyvast404
Copy link
Author

NULL pointer 4
==8509==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1bfc66473d bp 0x7ffdfb3fdf00 sp 0x7ffdfb3fd668 T0)
==8509==The signal is caused by a READ memory access.
==8509==Hint: address points to the zero page.
#0 0x7f1bfc66473c (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
#1 0x7f1bfe2314f7 in __interceptor_strncpy (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x944f7)
#2 0x7f1bfdc50179 in dxf_header_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:616
#3 0x7f1bfdcd34b6 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7631
#4 0x7f1bfcdecee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x5648d94ca465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f1bfc4f7b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x5648d94c9489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

@skyvast404
Copy link
Author

NULL pointer 5
==8523==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fc365ed25a1 bp 0x7ffd807954f0 sp 0x7ffd80794c68 T0)
==8523==The signal is caused by a READ memory access.
==8523==Hint: address points to the zero page.
#0 0x7fc365ed25a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7fc367a5c57b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7fc366cc7699 in dynapi_set_helper /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1686
#3 0x7fc366cc7fdb in dwg_dynapi_entity_set_value /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1752
#4 0x7fc3675301cb in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6318
#5 0x7fc367537cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#6 0x7fc36754189a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#7 0x7fc36665aee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#8 0x561cd0f1b465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#9 0x7fc365d65b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#10 0x561cd0f1a489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

@skyvast404
Copy link
Author

NULL pointer 6
==8543==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f92165995a1 bp 0x7ffe88d9fc90 sp 0x7ffe88d9f408 T0)
==8543==The signal is caused by a READ memory access.
==8543==Hint: address points to the zero page.
#0 0x7f92165995a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f921812357b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7f9217bb9f87 in add_xdata /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4116
#3 0x7f9217bf0665 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5792
#4 0x7f9217bfecbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#5 0x7f9217c0889a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#6 0x7f9216d21ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#7 0x55d0d84c7465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#8 0x7f921642cb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#9 0x55d0d84c6489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==8543==ABORTING

@skyvast404
Copy link
Author

NULL pointer 7
==8561==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000058 (pc 0x7fd3b91b6526 bp 0x7ffc77da4f40 sp 0x7ffc77da4ed0 T0)
==8561==The signal is caused by a READ memory access.
==8561==Hint: address points to the zero page.
#0 0x7fd3b91b6525 in add_MLINE /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4637
#1 0x7fd3b91e82d4 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5930
#2 0x7fd3b91f4cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#3 0x7fd3b91fe89a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#4 0x7fd3b8317ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55fe57327465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7fd3b7a22b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55fe57326489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4637 in add_MLINE
==8561==ABORTING

@skyvast404
Copy link
Author

NULL pointer 8
==8575==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f80fcee3e1a bp 0x7fff4599b400 sp 0x7fff4599ab60 T0)
==8575==The signal is caused by a READ memory access.
==8575==Hint: address points to the zero page.
#0 0x7f80fcee3e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f80fc9b83fa in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6946
#2 0x7f80fc9c089a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#3 0x7f80fbad9ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x555d43419465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f80fb1e4b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x555d43418489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8575==ABORTING

@skyvast404
Copy link
Author

NULL pointer 9
==8630==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1af55cbe1a bp 0x7ffd046d1b40 sp 0x7ffd046d12a0 T0)
==8630==The signal is caused by a READ memory access.
==8630==Hint: address points to the zero page.
#0 0x7f1af55cbe19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f1af5027e15 in dxf_header_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:808
#2 0x7f1af50a84b6 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7631
#3 0x7f1af41c1ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x560f621ec465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f1af38ccb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x560f621eb489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8630==ABORTING

@skyvast404
Copy link
Author

NULL pointer 10
==8659==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f3adea1ce1a bp 0x7ffeaba29ce0 sp 0x7ffeaba29440 T0)
==8659==The signal is caused by a READ memory access.
==8659==Hint: address points to the zero page.
#0 0x7f3adea1ce19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f3ade4ef96e in dxf_tables_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6927
#2 0x7f3ade4f958e in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7651
#3 0x7f3add612ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x56488b0cf465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f3adcd1db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x56488b0ce489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8659==ABORTING

@skyvast404
Copy link
Author

NULL pointer 11
==8667==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fd648396e1a bp 0x7ffd7a3da050 sp 0x7ffd7a3d97b0 T0)
==8667==The signal is caused by a READ memory access.
==8667==Hint: address points to the zero page.
#0 0x7fd648396e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7fd647e66dec in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6701
#2 0x7fd647e6cd2d in dxf_objects_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7245
#3 0x7fd647e73b16 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7701
#4 0x7fd646f8cee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55e3d59ca465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7fd646697b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55e3d59c9489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8667==ABORTING

@skyvast404
Copy link
Author

NULL pointer 12
==8676==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f5cfee47e1a bp 0x7ffca4516990 sp 0x7ffca45160f0 T0)
==8676==The signal is caused by a READ memory access.
==8676==Hint: address points to the zero page.
#0 0x7f5cfee47e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f5cfe91a82c in dxf_tables_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6924
#2 0x7f5cfe92458e in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7651
#3 0x7f5cfda3dee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x56417dab5465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f5cfd148b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x56417dab4489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8676==ABORTING

@skyvast404
Copy link
Author

NULL pointer 13
==8714==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f4f116f3e1a bp 0x7ffd08722470 sp 0x7ffd08721bd0 T0)
==8714==The signal is caused by a READ memory access.
==8714==Hint: address points to the zero page.
#0 0x7f4f116f3e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f4f1114b911 in dxf_expect_code /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:469
#2 0x7f4f111d0056 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7614
#3 0x7f4f102e9ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x555de0bf9465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f4f0f9f4b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x555de0bf8489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8714==ABORTING

@skyvast404
Copy link
Author

NULL pointer 14
==8724==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f7e5d3b5e1a bp 0x7fff8aacaae0 sp 0x7fff8aaca240 T0)
==8724==The signal is caused by a READ memory access.
==8724==Hint: address points to the zero page.
#0 0x7f7e5d3b5e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f7e5ce85dec in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6701
#2 0x7f7e5ce8c320 in dxf_unknownsection_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7281
#3 0x7f7e5ce92cb3 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7713
#4 0x7f7e5bfabee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x5585759bd465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f7e5b6b6b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x5585759bc489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8724==ABORTING

@skyvast404
Copy link
Author

NULL pointer 15
==8729==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f23d9394e1a bp 0x7ffdd52b6000 sp 0x7ffdd52b5760 T0)
==8729==The signal is caused by a READ memory access.
==8729==Hint: address points to the zero page.
#0 0x7f23d9394e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f23d8e69648 in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7074
#2 0x7f23d8e7189a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#3 0x7f23d7f8aee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x557261166465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f23d7695b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x557261165489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8729==ABORTING

@skyvast404
Copy link
Author

NULL pointer 16
==8766==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f125e4ab608 bp 0x7ffc31c12730 sp 0x7ffc31c11e90 T0)
==8766==The signal is caused by a READ memory access.
==8766==Hint: address points to the zero page.
#0 0x7f125e4ab607 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5b607)
#1 0x7f125df7838e in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6535
#2 0x7f125df7ccbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#3 0x7f125df8689a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#4 0x7f125d09fee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x555baf598465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f125c7aab96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x555baf597489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5b607)
==8766==ABORTING

@skyvast404
Copy link
Author

NULL pointer 17
==8794==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f09292f45a1 bp 0x7fff0f9a4440 sp 0x7fff0f9a3bb8 T0)
==8794==The signal is caused by a READ memory access.
==8794==Hint: address points to the zero page.
#0 0x7f09292f45a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f092ae7e57b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7f092a915c04 in add_xdata /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4198
#3 0x7f092a94b665 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5792
#4 0x7f092a959cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#5 0x7f092a96389a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#6 0x7f0929a7cee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#7 0x55645ba9f465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#8 0x7f0929187b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#9 0x55645ba9e489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==8794==ABORTING

@skyvast404
Copy link
Author

NULL pointer 18
==8825==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f3437de7b34 bp 0x7ffde5bc4c00 sp 0x7ffde5bc4b90 T0)
==8825==The signal is caused by a WRITE memory access.
==8825==Hint: address points to the zero page.
#0 0x7f3437de7b33 in add_MLINE /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4663
#1 0x7f3437e192d4 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5930
#2 0x7f3437e25cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#3 0x7f3437e2f89a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#4 0x7f3436f48ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55a7bc078465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f3436653b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55a7bc077489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4663 in add_MLINE
==8825==ABORTING

@skyvast404
Copy link
Author

NULL pointer 19
==8857==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f9864fff73d bp 0x7ffccd2a5070 sp 0x7ffccd2a47d8 T0)
==8857==The signal is caused by a READ memory access.
==8857==Hint: address points to the zero page.
#0 0x7f9864fff73c (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
#1 0x7f9866bcc4f7 in __interceptor_strncpy (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x944f7)
#2 0x7f98666504fa in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5267
#3 0x7f98666639b4 in dxf_tables_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6841
#4 0x7f986666e58e in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7651
#5 0x7f9865787ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#6 0x559c24552465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#7 0x7f9864e92b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#8 0x559c24551489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
==8857==ABORTING

@skyvast404
Copy link
Author

NULL pointer 20
==8872==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1569ce7e1a bp 0x7ffecec77a10 sp 0x7ffecec77170 T0)
==8872==The signal is caused by a READ memory access.
==8872==Hint: address points to the zero page.
#0 0x7f1569ce7e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f15697b7dec in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6701
#2 0x7f15697b99b4 in dxf_tables_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6841
#3 0x7f15697c458e in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7651
#4 0x7f15688ddee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x558ae3ea7465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f1567fe8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x558ae3ea6489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8872==ABORTING

@skyvast404
Copy link
Author

NULL pointer 21
==8880==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fb288b115c1 bp 0x7fff0e8b0050 sp 0x7fff0e8affe0 T0)
==8880==The signal is caused by a WRITE memory access.
==8880==Hint: address points to the zero page.
#0 0x7fb288b115c0 in add_MLINE /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4637
#1 0x7fb288b432d4 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5930
#2 0x7fb288b4fcbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#3 0x7fb288b5989a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#4 0x7fb287c72ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55e8eb1e6465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7fb28737db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55e8eb1e5489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4637 in add_MLINE
==8880==ABORTING

@skyvast404
Copy link
Author

NULL pointer 22
==8887==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7eff6da095a1 bp 0x7ffe8b3b7570 sp 0x7ffe8b3b6ce8 T0)
==8887==The signal is caused by a READ memory access.
==8887==Hint: address points to the zero page.
#0 0x7eff6da095a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7eff6f59357b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7eff6f072a4c in dxf_thumbnail_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7326
#3 0x7eff6f078b86 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7707
#4 0x7eff6e191ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55f82edc0465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7eff6d89cb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55f82edbf489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==8887==ABORTING

@skyvast404
Copy link
Author

NULL pointer 23
==8907==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fc3e6a8e5a1 bp 0x7ffc6a0fade0 sp 0x7ffc6a0fa558 T0)
==8907==The signal is caused by a READ memory access.
==8907==Hint: address points to the zero page.
#0 0x7fc3e6a8e5a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7fc3e863e3de in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x773de)
#2 0x7fc3e8078578 in array_push /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:420
#3 0x7fc3e80df1d6 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5250
#4 0x7fc3e80f3cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#5 0x7fc3e80fd89a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#6 0x7fc3e7216ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#7 0x559a754c2465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#8 0x7fc3e6921b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#9 0x559a754c1489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==8907==ABORTING

@skyvast404
Copy link
Author

NULL pointer 24
==8931==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f4ed9993284 bp 0x7ffc9536b100 sp 0x7ffc9536b0c0 T0)
==8931==The signal is caused by a READ memory access.
==8931==Hint: address points to the zero page.
#0 0x7f4ed9993283 in add_MLINESTYLE_lines /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1462
#1 0x7f4ed99f4a23 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5897
#2 0x7f4ed9a04d2d in dxf_objects_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7245
#3 0x7f4ed9a0bb16 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7701
#4 0x7f4ed8b24ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x56257803d465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f4ed822fb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x56257803c489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1462 in add_MLINESTYLE_lines
==8931==ABORTING

@skyvast404
Copy link
Author

NULL pointer 25
==8942==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fee8cb93e1a bp 0x7ffcfe4476a0 sp 0x7ffcfe446e00 T0)
==8942==The signal is caused by a READ memory access.
==8942==Hint: address points to the zero page.
#0 0x7fee8cb93e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7fee8b791647 in dwg_find_table_control /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1517
#2 0x7fee8b792a15 in dwg_find_tablehandle /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1661
#3 0x7fee8b792797 in dwg_find_tablehandle_silent /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1634
#4 0x7fee8c6708ef in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7683
#5 0x7fee8b789ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#6 0x56384b15b465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#7 0x7fee8ae94b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#8 0x56384b15a489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==8942==ABORTING

@skyvast404
Copy link
Author

NULL pointer 26
==8960==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f831f60d1f6 bp 0x7ffc478675c0 sp 0x7ffc47867550 T0)
==8960==The signal is caused by a WRITE memory access.
==8960==Hint: address points to the zero page.
#0 0x7f831f60d1f5 in add_MLINE /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4627
#1 0x7f831f63f2d4 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5930
#2 0x7f831f64bcbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#3 0x7f831f65589a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#4 0x7f831e76eee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x5583c941c465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f831de79b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x5583c941b489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4627 in add_MLINE
==8960==ABORTING

@skyvast404
Copy link
Author

NULL pointer 27
==9001==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f92222b773d bp 0x7fff76efd490 sp 0x7fff76efcbf8 T0)
==9001==The signal is caused by a READ memory access.
==9001==Hint: address points to the zero page.
#0 0x7f92222b773c (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
#1 0x7f9223e844f7 in __interceptor_strncpy (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x944f7)
#2 0x7f92239084fa in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5267
#3 0x7f922391ccbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#4 0x7f922392689a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#5 0x7f9222a3fee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#6 0x562bc370f465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#7 0x7f922214ab96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#8 0x562bc370e489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
==9001==ABORTING

@skyvast404
Copy link
Author

NULL pointer 28
==9032==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f1cbd0db73d bp 0x7ffd71069450 sp 0x7ffd71068bb8 T0)
==9032==The signal is caused by a READ memory access.
==9032==Hint: address points to the zero page.
#0 0x7f1cbd0db73c (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
#1 0x7f1cbeca84f7 in __interceptor_strncpy (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x944f7)
#2 0x7f1cbe737898 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6207
#3 0x7f1cbe740cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#4 0x7f1cbe74a89a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#5 0x7f1cbd863ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#6 0x558180de3465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#7 0x7f1cbcf6eb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#8 0x558180de2489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
==9032==ABORTING

@skyvast404
Copy link
Author

NULL pointer 29
==9083==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f7d721985a1 bp 0x7ffd515ae4e0 sp 0x7ffd515adc58 T0)
==9083==The signal is caused by a READ memory access.
==9083==Hint: address points to the zero page.
#0 0x7f7d721985a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f7d73d2257b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7f7d72f8d699 in dynapi_set_helper /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1686
#3 0x7f7d72f8dfdb in dwg_dynapi_entity_set_value /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1752
#4 0x7f7d737f61cb in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6318
#5 0x7f7d73801320 in dxf_unknownsection_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7281
#6 0x7f7d73807cb3 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7713
#7 0x7f7d72920ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#8 0x55f325629465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#9 0x7f7d7202bb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#10 0x55f325628489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9083==ABORTING

@skyvast404
Copy link
Author

NULL pointer 30
==9089==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fd374b36e1a bp 0x7ffecc10acb0 sp 0x7ffecc10a410 T0)
==9089==The signal is caused by a READ memory access.
==9089==Hint: address points to the zero page.
#0 0x7fd374b36e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7fd374596999 in dxf_classes_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1108
#2 0x7fd374613526 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7645
#3 0x7fd37372cee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x563fb4c6a465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7fd372e37b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x563fb4c69489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9089==ABORTING

@skyvast404
Copy link
Author

NULL pointer 40
==9315==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fbe9b7b173d bp 0x7ffda0f676a0 sp 0x7ffda0f66e08 T0)
==9315==The signal is caused by a READ memory access.
==9315==Hint: address points to the zero page.
#0 0x7fbe9b7b173c (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
#1 0x7fbe9d37e4f7 in __interceptor_strncpy (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x944f7)
#2 0x7fbe9ce024fa in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5267
#3 0x7fbe9ce19d2d in dxf_objects_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7245
#4 0x7fbe9ce20b16 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7701
#5 0x7fbe9bf39ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#6 0x55c25cc21465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#7 0x7fbe9b644b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#8 0x55c25cc20489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
==9315==ABORTING

@skyvast404
Copy link
Author

NULL pointer 41
==9320==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f97305345a1 bp 0x7ffec5f016f0 sp 0x7ffec5f00e68 T0)
==9320==The signal is caused by a READ memory access.
==9320==Hint: address points to the zero page.
#0 0x7f97305345a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f97320e43de in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x773de)
#2 0x7f9731b1e578 in array_push /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:420
#3 0x7f9731b9103c in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6241
#4 0x7f9731b99cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#5 0x7f9731ba389a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#6 0x7f9730cbcee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#7 0x5595cbd0a465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#8 0x7f97303c7b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#9 0x5595cbd09489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9320==ABORTING

@skyvast404
Copy link
Author

NULL pointer 42
==9333==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7ff8e2871e1a bp 0x7ffc628f9a60 sp 0x7ffc628f91c0 T0)
==9333==The signal is caused by a READ memory access.
==9333==Hint: address points to the zero page.
#0 0x7ff8e2871e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7ff8e2341dec in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6701
#2 0x7ff8e2344cbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#3 0x7ff8e234e89a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#4 0x7ff8e1467ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x5592686f4465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7ff8e0b72b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x5592686f3489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9333==ABORTING

@skyvast404
Copy link
Author

NULL pointer 43
==9345==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fe9be5d373d bp 0x7fff1f3c54c0 sp 0x7fff1f3c4c28 T0)
==9345==The signal is caused by a READ memory access.
==9345==Hint: address points to the zero page.
#0 0x7fe9be5d373c (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
#1 0x7fe9c01a04f7 in __interceptor_strncpy (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x944f7)
#2 0x7fe9bfc3af26 in dxf_entities_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7151
#3 0x7fe9bfc42ab2 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7696
#4 0x7fe9bed5bee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55e9f61d6465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7fe9be466b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55e9f61d5489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e73c)
==9345==ABORTING

@skyvast404
Copy link
Author

NULL pointer 44
==9365==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f8836a4f5a1 bp 0x7ffc7cfcfc70 sp 0x7ffc7cfcf3e8 T0)
==9365==The signal is caused by a READ memory access.
==9365==Hint: address points to the zero page.
#0 0x7f8836a4f5a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f88385ff3de in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x773de)
#2 0x7f88380b8263 in dxf_unknownsection_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7274
#3 0x7f88380becb3 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7713
#4 0x7f88371d7ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x562e385dc465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f88368e2b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x562e385db489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9365==ABORTING

@skyvast404
Copy link
Author

NULL pointer 45
==9380==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f30334d6e1a bp 0x7ffef6a91ec0 sp 0x7ffef6a91620 T0)
==9380==The signal is caused by a READ memory access.
==9380==Hint: address points to the zero page.
#0 0x7f30334d6e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f30320d4647 in dwg_find_table_control /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1517
#2 0x7f30320d5ae1 in dwg_find_tablehandle /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1667
#3 0x7f30320d5797 in dwg_find_tablehandle_silent /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1634
#4 0x7f3032f64687 in find_tablehandle /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4015
#5 0x7f3032faf53e in resolve_postponed_object_refs /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7447
#6 0x7f3032fb3d2e in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7719
#7 0x7f30320ccee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#8 0x55ec54b6a465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#9 0x7f30317d7b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#10 0x55ec54b69489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9380==ABORTING

@skyvast404
Copy link
Author

NULL pointer 46
==9393==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f5a5b777e1a bp 0x7ffd374414e0 sp 0x7ffd37440c40 T0)
==9393==The signal is caused by a READ memory access.
==9393==Hint: address points to the zero page.
#0 0x7f5a5b777e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f5a5b24e0b7 in dxf_objects_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7257
#2 0x7f5a5b254b16 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7701
#3 0x7f5a5a36dee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x55c509650465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f5a59a78b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x55c50964f489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9393==ABORTING

@skyvast404
Copy link
Author

NULL pointer 47
==9409==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f6fc00d45a1 bp 0x7ffdf7d35010 sp 0x7ffdf7d34788 T0)
==9409==The signal is caused by a READ memory access.
==9409==Hint: address points to the zero page.
#0 0x7f6fc00d45a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f6fc1c5e57b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7f6fc0ec9699 in dynapi_set_helper /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1686
#3 0x7f6fc0ec9fdb in dwg_dynapi_entity_set_value /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1752
#4 0x7f6fc17321cb in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6318
#5 0x7f6fc173bff1 in dxf_entities_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7161
#6 0x7f6fc1743ab2 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7696
#7 0x7f6fc085cee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#8 0x55c2ad954465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#9 0x7f6fbff67b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#10 0x55c2ad953489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9409==ABORTING

@skyvast404
Copy link
Author

NULL pointer 48
==9465==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f7a91629284 bp 0x7ffebc7a29b0 sp 0x7ffebc7a2970 T0)
==9465==The signal is caused by a READ memory access.
==9465==Hint: address points to the zero page.
#0 0x7f7a91629283 in add_MLINESTYLE_lines /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1462
#1 0x7f7a9168aa23 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:5897
#2 0x7f7a9169b320 in dxf_unknownsection_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7281
#3 0x7f7a916a1cb3 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7713
#4 0x7f7a907baee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x56248a689465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f7a8fec5b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x56248a688489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1462 in add_MLINESTYLE_lines
==9465==ABORTING

@skyvast404
Copy link
Author

NULL pointer 49
==9487==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f9b9af9d5a1 bp 0x7ffcd8468360 sp 0x7ffcd8467ad8 T0)
==9487==The signal is caused by a READ memory access.
==9487==Hint: address points to the zero page.
#0 0x7f9b9af9d5a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7f9b9cb4d3de in strdup (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x773de)
#2 0x7f9b9c605c70 in dxf_objects_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7238
#3 0x7f9b9c60cb16 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7701
#4 0x7f9b9b725ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x55a2be3d7465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7f9b9ae30b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x55a2be3d6489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9487==ABORTING

@skyvast404
Copy link
Author

NULL pointer 50
==9493==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f18cbcfde1a bp 0x7ffd9d1d12b0 sp 0x7ffd9d1d0a10 T0)
==9493==The signal is caused by a READ memory access.
==9493==Hint: address points to the zero page.
#0 0x7f18cbcfde19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f18cb75c9ce in dxf_classes_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:1039
#2 0x7f18cb7da526 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7645
#3 0x7f18ca8f3ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#4 0x557666914465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#5 0x7f18c9ffeb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#6 0x557666913489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9493==ABORTING

@skyvast404
Copy link
Author

NULL pointer51
==9498==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fcfbfb76e1a bp 0x7fff98ea77a0 sp 0x7fff98ea6f00 T0)
==9498==The signal is caused by a READ memory access.
==9498==Hint: address points to the zero page.
#0 0x7fcfbfb76e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7fcfbf646dec in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6701
#2 0x7fcfbf64bff1 in dxf_entities_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7161
#3 0x7fcfbf653ab2 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7696
#4 0x7fcfbe76cee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#5 0x561e348ec465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#6 0x7fcfbde77b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#7 0x561e348eb489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9498==ABORTING

@skyvast404
Copy link
Author

NULL pointer52
==9503==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fc323786e1a bp 0x7ffc4974d3f0 sp 0x7ffc4974cb50 T0)
==9503==The signal is caused by a READ memory access.
==9503==Hint: address points to the zero page.
#0 0x7fc323786e19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7fc322384647 in dwg_find_table_control /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1517
#2 0x7fc322386240 in dwg_find_tablehandle /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1725
#3 0x7fc322385797 in dwg_find_tablehandle_silent /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:1634
#4 0x7fc3232147a8 in find_tablehandle /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4023
#5 0x7fc32325e3e4 in resolve_postponed_header_refs /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7384
#6 0x7fc32326359a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7653
#7 0x7fc32237cee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#8 0x55aa6ff67465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#9 0x7fc321a87b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#10 0x55aa6ff66489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9503==ABORTING

@skyvast404
Copy link
Author

NULL pointer53
==9510==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f766600ee1a bp 0x7ffcf2ff5860 sp 0x7ffcf2ff4fc0 T0)
==9510==The signal is caused by a READ memory access.
==9510==Hint: address points to the zero page.
#0 0x7f766600ee19 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
#1 0x7f7665aeb13f in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7615
#2 0x7f7664c04ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#3 0x55934ede8465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#4 0x7f766430fb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#5 0x55934ede7489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x59e19)
==9510==ABORTING

@skyvast404
Copy link
Author

NULL pointer 54
==9530==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7ff6ad39a5a1 bp 0x7ffef5802b40 sp 0x7ffef58022b8 T0)
==9530==The signal is caused by a READ memory access.
==9530==Hint: address points to the zero page.
#0 0x7ff6ad39a5a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7ff6aef2457b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7ff6ae18f699 in dynapi_set_helper /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1686
#3 0x7ff6ae18ffdb in dwg_dynapi_entity_set_value /home/skyvast/Documents/libredwg-0.10.1.2677/src/gen-dynapi.pl:1752
#4 0x7ff6ae9f81cb in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6318
#5 0x7ff6aea02d2d in dxf_objects_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7245
#6 0x7ff6aea09b16 in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7701
#7 0x7ff6adb22ee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#8 0x560424356465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#9 0x7ff6ad22db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#10 0x560424355489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9530==ABORTING

@skyvast404
Copy link
Author

NULL pointer 55
==9544==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7ff28ca065a1 bp 0x7ffc935402b0 sp 0x7ffc9353fa28 T0)
==9544==The signal is caused by a READ memory access.
==9544==Hint: address points to the zero page.
#0 0x7ff28ca065a0 (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
#1 0x7ff28e59057b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x5157b)
#2 0x7ff28e028c48 in add_ent_preview /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:4298
#3 0x7ff28e068058 in new_object /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6616
#4 0x7ff28e06bcbd in dxf_blocks_read /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:6955
#5 0x7ff28e07589a in dwg_read_dxf /home/skyvast/Documents/libredwg-0.10.1.2677/src/in_dxf.c:7679
#6 0x7ff28d18eee7 in dxf_read_file /home/skyvast/Documents/libredwg-0.10.1.2677/src/dwg.c:319
#7 0x5595dc16a465 in main /home/skyvast/Documents/libredwg-0.10.1.2677/programs/dxf2dwg.c:255
#8 0x7ff28c899b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
#9 0x5595dc169489 in _start (/home/skyvast/Documents/asan_libredwg/bin/dxf2dwg+0x2489)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x18e5a0)
==9544==ABORTING

@skyvast404
Copy link
Author

PoCs here.
null_pointer.zip

@rurban
Copy link
Contributor

rurban commented Jan 16, 2020

Thanks, I can repro all 55

@rurban rurban self-assigned this Jan 16, 2020
@rurban rurban added the bug Something isn't working label Jan 16, 2020
@rurban rurban added this to the 0.11 milestone Jan 16, 2020
@rurban rurban added the fuzzing Intentional illegal input label Jan 16, 2020
rurban added a commit that referenced this issue Jan 16, 2020
Fixes GH #186, and 2 cases of GH #189
rurban added a commit that referenced this issue Jan 16, 2020
rurban added a commit that referenced this issue Jan 16, 2020
undo NEW_OBJECT when unknown.
Fixes null_pointer25 of GH #189
rurban added a commit that referenced this issue Jan 16, 2020
to a string.
Fixes case null_pointer29 of GH #189
rurban added a commit that referenced this issue Jan 16, 2020
and illegal MLINE asserts.
Fixes more GH #189 cases
rurban added a commit that referenced this issue Jan 16, 2020
and illegal MLINE asserts.
Closes GH #189 and GH #190
@rurban rurban closed this as completed Jan 16, 2020
@skyvast404
Copy link
Author

These bugs credited by ADLab.
CVE-2020-15807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fuzzing Intentional illegal input
Projects
None yet
Development

No branches or pull requests

2 participants