Files
redis/src
YaacovHazanandYaacovHazan a50bbcb656 redis-cli fixes around help hints version filtering (#13097)
- In removeUnsupportedArgs, trying to access the next item after the
last one and causing an out of bounds read.
- In versionIsSupported, when the 'version' is equal to 'since', the
return value is 0 (not supported).
Also, change the function to return `not supported` in case they have
different numbers of digits

Both issues were found by `Non-interactive non-TTY CLI: Test
command-line hinting - old server` under `test-sanitizer-address` (When
changing the `src/version.h` locally to `8.0.0`)

The new `MAXAGE` argument inside `client-kill` triggered the issue (new
argument at the end of the list)

---------

Co-authored-by: YaacovHazan <yaacov.hazan@redislabs.com>
2024-03-02 11:48:36 +02:00
..
2022-11-23 17:39:08 +02:00
2023-12-25 18:58:14 -08:00
2024-02-18 10:36:41 +02:00
2023-10-08 11:12:50 +03:00
2024-02-26 12:50:04 +02:00
2022-11-09 19:50:07 +02:00
2022-11-09 19:50:07 +02:00
2022-03-09 13:58:23 +02:00
2024-02-18 10:36:41 +02:00
2022-04-17 15:43:22 +03:00
2022-08-23 12:37:56 +03:00
2023-02-12 09:23:29 +02:00
2023-02-12 09:23:29 +02:00
2022-07-18 10:56:26 +03:00
2023-01-22 16:32:20 +02:00