dragonfly/src
Abhijat Malviya e341819256
fix(hset_family): Fix val being overwritten by TTL (#5094)
When hset is loaded from rdb, if a ttl is specified by the user, the
code recreates a string_view on top of the same memory location,
tset_blob_, that was used for val earlier. This causes the val string
view to point to the same value now as TTL has. For example if the val
string view was 'x' earlier (points to tset_blob_, size 1), and ttl is
7777777, val now becomes '7'.

To fix this val is now given it's own string. TTL is kept as string
view as the pointer is not reused anywhere in the following loop.

Signed-off-by: Abhijat Malviya <abhijat@dragonflydb.io>
2025-05-10 20:11:42 +05:30
..
core chore: support fetching a huffman encoded string from CompactObj (#5086) 2025-05-09 18:13:36 +03:00
facade feat(memcache): Add support for GETS (#5087) 2025-05-09 13:31:07 +05:30
huff chore: introduce DEBUG COMPRESSION (#4620) 2025-03-02 21:29:19 +02:00
redis fix: potential vulnerable cloned functions (#4996) 2025-04-25 19:15:42 +03:00
server fix(hset_family): Fix val being overwritten by TTL (#5094) 2025-05-10 20:11:42 +05:30
.gitignore
CMakeLists.txt chore: GlobMatcher uses now reflex::Matcher regex engine (#4528) 2025-02-05 10:29:51 +02:00
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in