sds
sds copied to clipboard
sdscatfmt call sdsMakeRoomFor, asked for more space than intended
instead of asking for the extra new space it wanted, it asked to grow the string by the size it already has too. i.e. a string of 1000 bytes, needing to grow by 10 bytes, would have been asking for an additional 1010 bytes. As in https://github.com/redis/redis/pull/8286.