Commits
- Commit:
64c1c0c3de7c3ab20ca3e0a4f741ed8e6bc54450
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
test/fuzz: fix datetime_strptime fuzzing test
Function `datetime_strptime` decodes string with datetime according to
specified format, it accepts a datetime struct, buffer with datetime and
string with format in arguments. Fuzzing test used static string
"iso8601" as a format and it blocked fuzzing test to cover functions
used by datetime_strptime under the hood. Fuzz introspector shows that
code coveraged by a test is quite low.
Patch updates the test to make it more effective: buffer with datetime
and format string are generated using FDP (Fuzzing Data Provider).
Test file extension was changed to .cc, because FuzzingDataProvider is
used and we need building it by C++ compiler.
Function `tnt_strptime` uses assert, that triggered by fuzzing tests.
Therefore it was replaced with to if..then.
1. https://storage.googleapis.com/oss-fuzz-introspector/tarantool/
Fixes #8490
NO_CHANGELOG=fuzzing test
NO_DOC=fuzzing test
NO_TEST=fuzzing test
- Commit:
9a72c36fc4346aa318610b3e5d206698f8f4e0bf
- From:
- Timur Safin <tsafin@tarantool.org>
- Via:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Date:
datetime: fix buffer overflow in tnt_strptime
Fixes #8502
Needed for #8490
NO_DOC=bugfix
NO_TEST=covered by fuzzing test
- Commit:
10f7109c7e5c4cdf3339876e2ff150a19a36b308
- From:
- psergee <p_sergee@mail.ru>
- Via:
- Alexander Turenko <totktonada.ru@gmail.com>
- Date:
build: add tt weak dependency
Part of tarantool/tt#286
NO_TEST=third-party dependency
NO_DOC=third-party dependency
- Commit:
64427eec1fb8bed0cfa515405e360c384b091c6d
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Via:
- Alexander Turenko <totktonada.ru@gmail.com>
- Date:
test/static: add dictionary for swim_proto_meta_fuzzer
Follows up #8488
NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing
- Commit:
1e584e89823096bbf722a629615832d81b118c0d
- From:
- Sergey Bronnikov <sergeyb@tarantool.org>
- Via:
- Alexander Turenko <totktonada.ru@gmail.com>
- Date:
test/static: add dictionary for swim_proto_member_fuzzer
Follows up #8488
NO_CHANGELOG=testing
NO_DOC=testing
NO_TEST=testing