summaryrefslogtreecommitdiff
path: root/src/intset.c
diff options
context:
space:
mode:
authoryiyuaner <yguoaz@gmail.com>2021-10-04 16:11:09 +0800
committerGitHub <noreply@github.com>2021-10-04 11:11:09 +0300
commit24cc0b984d4ed5045c6ff125b0e619b6ce5ea9c6 (patch)
tree210f53d689746a8a8ef0ca023d3eeb6c26013920 /src/intset.c
parent5becb7c9c69d23aa208a8325eae0d02846590a78 (diff)
downloadredis-24cc0b984d4ed5045c6ff125b0e619b6ce5ea9c6.tar.gz
Fix integer overflow in _sdsMakeRoomFor (CVE-2021-41099) (#9558)
The existing overflow checks handled the greedy growing, but didn't handle a case where the addition of the header size is what causes the overflow.
Diffstat (limited to 'src/intset.c')
0 files changed, 0 insertions, 0 deletions