1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00
dragonflydb-dragonfly/tests/fakeredis/test
Roman Gershman e6f5a2073c
fix: crash when passing empty arguments (#3627)
* fix: crash when passing empty arguments

Fix the case where we pass an empty argument, which then is parsed as an
empty string view with null pointer. The null pointer is not handled correctly
by our low level c code, hence switch to using ""sv for that.


* chore: add more list asserts + improve test_hypothesis
---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
2024-09-03 12:43:12 +03:00
..
test_json fix: edge cases around mismatched path in json code (#3609) 2024-09-02 21:37:59 +03:00
test_mixins fix: limit parsing in zrange commands (#3626) 2024-09-03 10:08:45 +03:00
test_stack fix: debug crash inside parsing of ZRANGE (#3611) 2024-08-31 08:02:21 +03:00
__init__.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
conftest.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_asyncredis.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_connection.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_extract_args.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_general.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_hypothesis.py fix: crash when passing empty arguments (#3627) 2024-09-03 12:43:12 +03:00
test_init_args.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_lua_modules.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_mock.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_scan.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_sortedset_commands.py chore: run fakeredis flow with the debug build (#3612) 2024-09-01 14:51:00 +03:00
test_transactions.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
test_zadd.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00
testtools.py test: tests using fakeredis to check compatibility (#3534) 2024-08-22 22:30:42 +03:00