| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
This will be useful for evolution-data-server to use the same zone directory as libical.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
- [github.com/PyCQA/pylint: v2.15.6 → v2.15.9](https://github.com/PyCQA/pylint/compare/v2.15.6...v2.15.9)
- [github.com/pre-commit/mirrors-autopep8: v2.0.0 → v2.0.1](https://github.com/pre-commit/mirrors-autopep8/compare/v2.0.0...v2.0.1)
- [github.com/fsfe/reuse-tool: v1.0.0 → v1.1.0](https://github.com/fsfe/reuse-tool/compare/v1.0.0...v1.1.0)
|
| | |
|
| |
| |
| |
| |
| | |
updates:
- [github.com/PyCQA/pylint: v2.15.5 → v2.15.6](https://github.com/PyCQA/pylint/compare/v2.15.5...v2.15.6)
|
| | |
|
| | |
|
| |
| |
| |
| | |
variables with thread-local storage, thus avoiding the need for synchronization.
|
| |
| |
| |
| | |
modifiers (i.e. thread_local) if necessary.
|
| | |
|
| |
| |
| |
| |
| |
| | |
updates:
- [github.com/PyCQA/pylint: v2.15.4 → v2.15.5](https://github.com/PyCQA/pylint/compare/v2.15.4...v2.15.5)
- [github.com/pre-commit/mirrors-autopep8: v1.7.0 → v2.0.0](https://github.com/pre-commit/mirrors-autopep8/compare/v1.7.0...v2.0.0)
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
to better enforce modern C
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The code fails to build when having enabled (gcc) warnings:
-Werror=implicit
-Werror=implicit-function-declaration
-Werror=implicit-int
-Werror=int-conversion
-Werror=old-style-definition
-Werror=strict-prototypes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When embedded timezone data is not enabled errors from previous tests
set icalerrno to non-default and cause exception handling to throw wrong
exception:
not ok 1186 - Testing exception handling
# test failed: ""
# at: /build/libical/src/test/regression-cxx.cpp:170
# got: 0
# expected: 1
The change explicitly drops icalerrno to isolate the test result from
other tests.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When builtin timezones are not enabled 'regression' test SIGSEGVs due to
strdup(NULL) in test_timezone_from_builtin():
=================================================================
==6477==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7ffff7a1aae6 bp 0x7fffffffb6c0 sp 0x7fffffffae68 T0)
==6477==The signal is caused by a READ memory access.
==6477==Hint: address points to the zero page.
#0 0x7ffff7a1aae6 in __sanitizer::internal_strlen(char const*) (...gcc-13.0.0-lib/lib/libasan.so.8+0xebae6)
#1 0x7ffff79aceb0 in __interceptor_strdup (...gcc-13.0.0-lib/lib/libasan.so.8+0x7deb0)
#2 0x41db71 in test_timezone_from_builtin /build/libical/src/test/regression.c:4682
#3 0x42beff in test_run /build/libical/src/test/regression-utils.c:236
#4 0x40b962 in main /build/libical/src/test/regression.c:5475
#5 0x7ffff6d2858d in __libc_start_call_main (...glibc-2.35-163/lib/libc.so.6+0x2958d)
#6 0x7ffff6d28648 in __libc_start_main_impl (...glibc-2.35-163/lib/libc.so.6+0x29648)
#7 0x40bc84 in _start (/build/libical/build/src/test/regression+0x40bc84)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (...gcc-13.0.0-lib/lib/libasan.so.8+0xebae6) in __sanitizer::internal_strlen(char const*)
The change disables the test if builtin zimezone tables are not enabled.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can't use local free() as buffer was not allocated by local malloc():
backtrace_symbols() is a glibc function. Noticed when was debugging
unrelated test failure under `-fsanitize=address`:
==6354==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xf0401578 at pc 0x080765af bp 0xffff5168 sp 0xffff515c
READ of size 4 at 0xf0401578 thread T0
#0 0x80765ae in test_free src/test/test-malloc.c:136
#1 0xf729d0e4 in ical_bt src/libical/icalerror.c:272
#2 0xf729d376 in icalerror_set_errno src/libical/icalerror.c:117
#3 0xf72cde81 in icaltimezone_parse_zone_tab src/libical/icaltimezone.c:1692
#4 0xf72d69f4 in icaltimezone_init_builtin_timezones src/libical/icaltimezone.c:1554
#5 0xf72d69f4 in icaltimezone_get_utc_timezone src/libical/icaltimezone.c:1537
#6 0xf72c46d8 in icaltime_from_string src/libical/icaltime.c:359
#7 0xf72bed2d in icalrecurrencetype_from_string src/libical/icalrecur.c:714
#8 0xf72e44e0 in icalvalue_new_from_string_with_error src/libical/icalvalue.c:632
#9 0xf72a3a9e in icalparser_add_line src/libical/icalparser.c:1157
#10 0xf72a59ef in icalparser_parse src/libical/icalparser.c:642
#11 0xf72a5bf0 in icalparser_parse_string src/libical/icalparser.c:1359
#12 0xf72932f7 in icalcomponent_new_from_string src/libical/icalcomponent.c:129
#13 0x8063526 in test_tzid_with_utc_time src/test/regression.c:4496
#14 0x8073f02 in test_run src/test/regression-utils.c:236
#15 0x8051c79 in main src/test/regression.c:5467
#16 0xf6cf12f9 in __libc_start_call_main (...glibc-2.35-163/lib/libc.so.6+0x212f9)
#17 0xf6cf13d3 in __libc_start_main_alias_1 (...glibc-2.35-163/lib/libc.so.6+0x213d3)
#18 0x805202b in _start (build/src/test/regression+0x805202b)
0xf0401578 is located 8 bytes to the left of 1553-byte region [0xf0401580,0xf0401b91)
allocated by thread T0 here:
#0 0xf7a6906b in malloc (...gcc-13.0.0-lib/lib/libasan.so.8+0xd706b)
#1 0xf6dfd1ae in backtrace_symbols (...glibc-2.35-163/lib/libc.so.6+0x12d1ae)
#2 0xf7a1d808 in __interceptor_backtrace_symbols.part.0 (...gcc-13.0.0-lib/lib/libasan.so.8+0x8b808)
#3 0xf729d01f in ical_bt src/libical/icalerror.c:264
SUMMARY: AddressSanitizer: heap-buffer-overflow src/test/test-malloc.c:136 in test_free
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When embedded timezone data is not enabled errors from previous tests
set icalerrno to non-default and cause exception handling to throw wrong
exception:
not ok 1186 - Testing exception handling
# test failed: ""
# at: /build/libical/src/test/regression-cxx.cpp:170
# got: 0
# expected: 1
The change explicitly drops icalerrno to isolate the test result from
other tests.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When builtin timezones are not enabled 'regression' test SIGSEGVs due to
strdup(NULL) in test_timezone_from_builtin():
=================================================================
==6477==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7ffff7a1aae6 bp 0x7fffffffb6c0 sp 0x7fffffffae68 T0)
==6477==The signal is caused by a READ memory access.
==6477==Hint: address points to the zero page.
#0 0x7ffff7a1aae6 in __sanitizer::internal_strlen(char const*) (...gcc-13.0.0-lib/lib/libasan.so.8+0xebae6)
#1 0x7ffff79aceb0 in __interceptor_strdup (...gcc-13.0.0-lib/lib/libasan.so.8+0x7deb0)
#2 0x41db71 in test_timezone_from_builtin /build/libical/src/test/regression.c:4682
#3 0x42beff in test_run /build/libical/src/test/regression-utils.c:236
#4 0x40b962 in main /build/libical/src/test/regression.c:5475
#5 0x7ffff6d2858d in __libc_start_call_main (...glibc-2.35-163/lib/libc.so.6+0x2958d)
#6 0x7ffff6d28648 in __libc_start_main_impl (...glibc-2.35-163/lib/libc.so.6+0x29648)
#7 0x40bc84 in _start (/build/libical/build/src/test/regression+0x40bc84)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (...gcc-13.0.0-lib/lib/libasan.so.8+0xebae6) in __sanitizer::internal_strlen(char const*)
The change disables the test if builtin zimezone tables are not enabled.
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
453689b7678cbc588c2811efb953d513fc8dc90f changed libical
to not escape comma in x-property values. While this is
a sane choice for x-property values of unknown kind, it
is wrong if the value type of the property is TEXT.
|
| |
| |
| |
| |
| |
| | |
This got introduced in 453689b7678cbc588c2811efb953d513fc8dc90f,
where the "test_remove_tzid_from_due" and "test_comma_in_xproperty"
function names were swapped.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
remove the ancient Android toolchain file
|
| | |
|
| |
| |
| |
| |
| | |
updates:
- [github.com/codespell-project/codespell: v2.2.1 → v2.2.2](https://github.com/codespell-project/codespell/compare/v2.2.1...v2.2.2)
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit 2ca167a6077fc1464b1dd3dde93b68c50dc0f720.
|
| |
| |
| |
| |
| | |
updates:
- [github.com/PyCQA/pylint: v2.15.3 → v2.15.4](https://github.com/PyCQA/pylint/compare/v2.15.3...v2.15.4)
|
|\ \
| |/ |
|
| |
| |
| |
| | |
match documentation and tests.
|
| | |
|
| |
| |
| |
| | |
time_t. Add a range guard for years from 1902 to 10000 also for 64-bit time_t.
|
|\ \
| |/ |
|
| | |
|
| | |
|