You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring using -Db_sinitize=address find overflows when running tests:
==420973==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000019e0f at pc 0x7f8e4d7484e8 bp 0x7ffcc18afa50 sp 0x7ffcc18afa40
READ of size 1 at 0x602000019e0f thread T0
#0 0x7f8e4d7484e7 in vala_lint_utils_get_column_of ../lib/Utils.vala:73
#1 0x7f8e4d7515b6 in vala_lint_checks_double_spaces_check_real_check ../lib/Checks/DoubleSpacesCheck.vala:61
#2 0x7f8e4d732786 in vala_lint_check_check ../lib/Check.vala:50
#3 0x7f8e4d740e76 in vala_lint_linter_run_checks_for_file ../lib/Linter.vala:92
#4 0x55645d9f1980 in file_test_check_file_for_mistake ../test/FileTest.vala:27
#5 0x55645d9f28b3 in file_test_main ../test/FileTest.vala:43
#6 0x55645d9f5038 in main ../test/FileTest.vala:34
#7 0x7f8e4cffefcf in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
#8 0x7f8e4cfff07c in __libc_start_main_impl ../csu/libc-start.c:409
#9 0x55645d9ee6c4 in _start (/home/esodan/Projects/vala-lint/build/test/file-test+0x46c4)
0x602000019e0f is located 1 bytes to the left of 16-byte region [0x602000019e10,0x602000019e20)
allocated by thread T0 here:
#0 0x7f8e4d83f867 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
#1 0x7f8e4d417088 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x5e088)
SUMMARY: AddressSanitizer: heap-buffer-overflow ../lib/Utils.vala:73 in vala_lint_utils_get_column_of
Shadow bytes around the buggy address:
0x0c047fffb370: fa fa fd fd fa fa fd fd fa fa fd fd fa fa fd fd
0x0c047fffb380: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fa
0x0c047fffb390: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fd
0x0c047fffb3a0: fa fa fd fa fa fa fd fd fa fa fd fd fa fa fd fd
0x0c047fffb3b0: fa fa fd fd fa fa fd fd fa fa fd fd fa fa 01 fa
=>0x0c047fffb3c0: fa[fa]00 00 fa fa 01 fa fa fa 00 06 fa fa 02 fa
0x0c047fffb3d0: fa fa 01 fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fffb3e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fffb3f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fffb400: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c047fffb410: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
Shadow gap: cc
==420973==ABORTING
The text was updated successfully, but these errors were encountered:
Configuring using
-Db_sinitize=address
find overflows when running tests:The text was updated successfully, but these errors were encountered: