A flexible distributed key-value database that is optimized for caching and other realtime workloads.
487 matches across 13 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/rdma/rdma-test.c | 21 | #include <errno.h> |
| LOW | tests/modules/blockedclient.c | 1 | /* define macros for having usleep */ |
| LOW | utils/gen-test-certs.sh | 1 | #!/bin/bash |
| LOW | utils/install_server.sh | 1 | #!/bin/sh |
| LOW | utils/install_server.sh | 21 | # OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| LOW | utils/install_server.sh | 41 | # |
| LOW | utils/install_server.sh | 201 | "#!/bin/sh\n |
| LOW | utils/install_server.sh | 221 | # Should-Stop: \$syslog \$named\n |
| LOW | utils/install_server.sh | 241 | cat > ${TMP_FILE} <<EOT |
| LOW | utils/hyperloglog/hll-gnuplot-graph.rb | 1 | # hll-err.rb - Copyright (C) 2014 Redis Ltd. |
| LOW | deps/fast_float/ffc.h | 1 | // fast_float by Daniel Lemire (Original) |
| LOW | deps/fast_float/ffc.h | 21 | // Licensed under the Apache License, Version 2.0, or the |
| LOW | deps/fast_float/ffc.h | 41 | // The above copyright notice and this permission notice |
| LOW | deps/fast_float/ffc.h | 61 | // |
| LOW | deps/fast_float/ffc.h | 81 | // the above license grant, this restriction and the following disclaimer, |
| LOW | deps/fast_float/ffc.h | 261 | |
| LOW | deps/fast_float/ffc.h | 381 | defined(__MINGW64__) || defined(__s390x__) || \ |
| LOW | deps/fast_float/ffc.h | 401 | #define FFC_64BIT 1 |
| LOW | deps/fast_float/ffc.h | 421 | #define FFC_IS_BIG_ENDIAN 0 |
| LOW | deps/fast_float/ffc.h | 441 | # |
| LOW | deps/fast_float/ffc.h | 461 | #if defined(__aarch64__) || defined(_M_ARM64) |
| LOW | deps/fast_float/ffc.h | 481 | #define FFC_SIMD_DISABLE_WARNINGS \ |
| LOW | deps/fast_float/ffc.h | 581 | #define FFC_DOUBLE_INFINITE_POWER 0x7FF |
| LOW | deps/fast_float/ffc.h | 601 | #define FFC_FLOAT_MAX_EXPONENT_FAST_PATH 10 |
| LOW | deps/fast_float/ffc.h | 781 | return false; |
| LOW | deps/fast_float/ffc.h | 801 | // |
| LOW | deps/fast_float/ffc.h | 821 | #elif defined(__clang__) |
| LOW | deps/fast_float/ffc.h | 1561 | #endif // FFC_PARSE_H |
| LOW | deps/fast_float/ffc.h | 1601 | // number of bits in a bigint. this needs to be at least the number |
| LOW | deps/fast_float/ffc.h | 2701 | // parse the significant digits as a big integer to unambiguously round |
| LOW | deps/fast_float/ffc.h | 2741 | // The required precision is mantissa_explicit_bits + 3 because |
| LOW | deps/fast_float/ffc.h | 2861 | // whereas 0x40000000000000 x 2^-1023-53 is normal. Now, we need to round |
| LOW | deps/fast_float/ffc.h | 2941 | // we want round-to-nearest in all cases, irrespective of the rounding mode |
| LOW | deps/fast_float/ffc.h | 3201 | #undef FFC_DOUBLE_MINIMUM_EXPONENT |
| LOW | deps/fast_float/ffc.h | 3221 | #undef FFC_FLOAT_EXPONENT_MASK |
| LOW | deps/libvalkey/include/valkey/valkey.h | 41 | #include <sys/time.h> /* for struct timeval */ |
| LOW | deps/libvalkey/include/valkey/visibility.h | 41 | #else |
| LOW | deps/libvalkey/include/valkey/sockcompat.h | 41 | #include <sys/select.h> |
| LOW | deps/libvalkey/include/valkey/sockcompat.h | 81 | int win32_valkeyKeepAlive(SOCKET sockfd, int interval_ms); |
| LOW | deps/libvalkey/include/valkey/read.h | 41 | /* When an error occurs, the err flag in a context is set to hold the type of |
| LOW | deps/libvalkey/tests/client_test.c | 1 | #include "fmacros.h" |
| LOW | deps/libvalkey/tests/client_test.c | 21 | |
| LOW | deps/libvalkey/tests/ct_connection.c | 1 | #include "adapters/libevent.h" |
| LOW | …y/tests/scripts/connect-during-cluster-startup-test.sh | 1 | #!/bin/sh |
| LOW | deps/libvalkey/tests/scripts/moved-redirect-test.sh | 1 | #!/bin/bash |
| LOW | …ect-during-cluster-startup-using-cluster-nodes-test.sh | 1 | #!/bin/sh |
| LOW | …ripts/client-disconnect-without-slotmap-update-test.sh | 1 | #!/bin/bash |
| LOW | …libvalkey/tests/scripts/redirect-with-hostname-test.sh | 1 | #!/bin/sh |
| LOW | …ests/scripts/connect-error-using-cluster-nodes-test.sh | 1 | #!/bin/sh |
| LOW | …/libvalkey/tests/scripts/command-from-callback-test.sh | 1 | #!/bin/bash |
| LOW | …ey/tests/scripts/ask-redirect-connection-error-test.sh | 1 | #!/bin/bash |
| LOW | deps/libvalkey/tests/scripts/timeout-handling-test.sh | 1 | #!/bin/bash |
| LOW | …s/scripts/dbsize-to-all-nodes-during-scaledown-test.sh | 1 | #!/bin/bash |
| LOW | deps/libvalkey/tests/scripts/cluster-scale-down-test.sh | 1 | #!/bin/bash |
| LOW | …pts/dbsize-to-all-nodes-during-scaledown-test-async.sh | 1 | #!/bin/bash |
| LOW | deps/libvalkey/scripts/gencommands.py | 1 | #!/usr/bin/env python3 |
| LOW | deps/libvalkey/scripts/gencommands.py | 21 | # |
| LOW | deps/libvalkey/scripts/gencommands.py | 41 | for arg in arguments: |
| LOW | deps/libvalkey/src/async.c | 41 | #include <strings.h> |
| LOW | deps/libvalkey/src/rdma.c | 41 | #include <arpa/inet.h> |
| 340 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | utils/generate-commands-json.py | 10 | def convert_flags_to_boolean_dict(flags): |
| LOW | utils/generate-commands-json.py | 35 | def convert_entry_to_objects_array(cmd, docs): |
| LOW | utils/generate-command-code.py | 48 | def check_command_args_key_specs(args, command_key_specs_index_set, command_arg_key_specs_index_set): |
| LOW | deps/libvalkey/scripts/gencommands.py | 145 | def collect_command_from_cmddef_h(f, commands): |
| LOW | deps/libvalkey/scripts/gencommands.py | 163 | def collect_commands_from_files(filenames): |
| LOW | deps/jemalloc/scripts/gen_travis.py | 210 | def generate_unusual_combinations(unusuals, max_unusual_opts): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 129 | def test_passing_task_succeeds(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 139 | def test_failing_task_fails_even_with_retries(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 144 | def test_executing_passing_and_failing_fails(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 155 | def test_task_succeeds_with_one_retry(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 162 | def test_task_fails_with_one_retry(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 169 | def test_runner_succeeds_when_all_tasks_eventually_succeeds(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 254 | def test_running_parallel_test_cases_without_repeats(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 262 | def test_running_parallel_test_cases_with_repeats(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 270 | def test_running_parallel_tests(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 280 | def test_race_in_test_times_load_save(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 576 | def test_does_not_run_disabled_tests_by_default(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 584 | def test_runs_disabled_tests_when_asked(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 593 | def test_runs_failed_tests_by_default(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 600 | def test_runs_only_failed_tests_when_asked(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 608 | def test_does_not_apply_gtest_filter_by_default(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 615 | def test_applies_gtest_filter(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 620 | def test_applies_gtest_color_by_default(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 630 | def test_repeats_tasks_once_by_default(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 634 | def test_repeats_tasks_multiple_times(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 187 | def test_get_save_file_path_unix(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 376 | def test_logs_to_temporary_files_without_output_dir(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 415 | def test_run_interrupted_task_with_transient_log(self): |
| LOW | deps/gtest-parallel/gtest_parallel_tests.py | 645 | def test_gtest_list_tests_fails(self): |
| LOW | deps/gtest-parallel/gtest_parallel.py | 279 | def __get_next_execution_number(self, test_id): |
| LOW | src/server.c | 1180 | * the function clientsCronTrackExpensiveClients(). */ |
| LOW | src/unit/wrapper_util.py | 50 | def find_wrapper_functions_in_header(header_file_name): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/rdma/rdma_env.py | 21 | cmd = "modprobe rdma_cm && modprobe udp_tunnel && modprobe ip6_udp_tunnel && modprobe ib_uverbs" |
| HIGH | deps/jemalloc/scripts/gen_run_tests.py | 111 | \$@ >> run_test.log 2>&1 || abort |
| HIGH | deps/jemalloc/scripts/gen_run_tests.py | 119 | %(config_line)s >> run_test.log 2>&1 || abort |
| HIGH | deps/jemalloc/scripts/gen_travis.py | 44 | scripts/gen_travis.py > travis_script && diff .travis.yml travis_script |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | utils/req-res-log-validator.py | 211 | except Exception as err: |
| LOW | utils/req-res-log-validator.py | 253 | except Exception as e: |
| MEDIUM | utils/generate-command-code.py | 602 | print("Error processing %s: %s" % (filename, err)) |
| MEDIUM | utils/generate-command-code.py | 631 | print("Error: There are errors in the commands check, please check the above logs.") |
| MEDIUM | deps/libvalkey/scripts/gencommands.py | 160 | print("Error processing line: %s" % (line)) |
| MEDIUM | deps/libvalkey/scripts/gencommands.py | 191 | print("Error processing %s: %s" % (filename, err)) |
| LOW | deps/gtest-parallel/gtest_parallel.py | 628 | except Exception: |
| MEDIUM | deps/gtest-parallel/gtest_parallel.py | 624 | def __read_test_times_file(fd): |
| MEDIUM | src/unit/generate-redefine-syms.py | 44 | print(f"Error running nm on '{object_file}': {e}", file=sys.stderr) |
| MEDIUM | src/unit/generate-redefine-syms.py | 66 | print(f"Error: File '{file_path}' does not exist.", file=sys.stderr) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/test-failure-detector.yml | 26 | # Step 1: Download consolidated artifact |
| LOW | .github/workflows/test-failure-detector.yml | 70 | # Step 2: Get per-job URLs |
| LOW | .github/workflows/test-failure-detector.yml | 109 | # Step 3: Parse and merge failures |
| LOW | .github/workflows/test-failure-detector.yml | 157 | # Step 4: Create or update issues |
| LOW | src/t_stream.c | 3258 | /* We need to check if the minimum idle time requested |
| LOW | src/networking.c | 6154 | /* We need to check if the soft limit is reached continuously for the |
| LOW | src/server.c | 3234 | /* The purpose of this function is to try to "glue" consecutive range |
| LOW | src/acl.c | 2636 | /* If there are some subscribers, we need to check if we need to drop some clients. */ |
| LOW | src/modules/hellotype.c | 185 | * called when the key we blocked for is ready: we need to check if we |
| LOW | src/modules/lua/script_lua.c | 385 | /* We need to check if it is an array, an error, or a status reply. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/rdma/run.py | 31 | |
| LOW | utils/req-res-log-validator.py | 186 | |
| LOW | utils/req-res-log-validator.py | 116 | |
| LOW | utils/generate-command-code.py | 305 | |
| LOW | utils/generate-command-code.py | 326 | |
| LOW | utils/generate-command-code.py | 327 | |
| LOW | deps/libvalkey/scripts/gencommands.py | 58 | |
| LOW | deps/libvalkey/scripts/gencommands.py | 163 | |
| LOW | deps/gtest-parallel/gtest_parallel.py | 636 | |
| LOW | deps/gtest-parallel/gtest_parallel.py | 701 | |
| LOW | deps/gtest-parallel/gtest_parallel.py | 380 | |
| LOW | deps/gtest-parallel/gtest_parallel.py | 710 | |
| LOW | src/unit/wrapper_util.py | 15 | |
| LOW | src/unit/wrapper_util.py | 50 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | utils/gen-test-certs.sh | 66 | # Create a CA bundle and hashed CA directory used by TLS tests. |
| MEDIUM | .github/workflows/provenance-refresh.yml | 39 | # Create the DB branch on first run, otherwise reuse it. |
| MEDIUM | deps/libvalkey/scripts/gencommands.py | 4 | # This file is released under the BSD license, see the COPYING file |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | utils/generate-command-code.py | 89 | # Check if we have key_specs not used |
| LOW | utils/lru/test-lru.rb | 115 | # Check if evicted keys respect LRU |
| LOW | src/module.c | 3734 | * #### Return value |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | utils/redis-copy.rb | 7 | # for the more-robust redis-copy gem. |
| LOW | deps/gtest-parallel/gtest_parallel.py | 52 | # Before a SIGINT is seen, wait(p) will simply call p.wait() and |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | utils/redis-sha1.rb | 8 | # If you hack this code make sure to sort keys and set elements as this are |
| LOW | src/commands.h | 60 | /* Command flags. Please don't forget to add command flag documentation in struct |
| LOW | src/lolwut9.c | 81 | output_array = sdscatprintf(output_array, "Don't forget to have fun! %s ver. ", server.extended_redis_compat ? "Redi |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/rdma/rdma_env.py | 16 | |
| LOW | deps/jemalloc/scripts/gen_travis.py | 4 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | deps/gtest-parallel/gtest_parallel_mocks.py | 99 | def run_task(self, task, timeout_per_test): |
| LOW | deps/gtest-parallel/gtest_parallel.py | 307 | def run_task(self, task, timeout_per_test): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/unit/test_crc64.cpp | 31 | unsigned char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " |
| LOW | src/unit/test_crc64.cpp | 31 | unsigned char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " |