huangzhw 595ecd5f4b
sdscatfmt call sdsMakeRoomFor, asked for more space than intended (#8286)
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.
2021-01-05 18:41:53 +02:00
..
2021-01-04 17:02:57 +02:00
2020-11-09 21:48:56 -08:00
2020-11-25 13:36:21 -08:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2020-05-05 10:20:48 +02:00
2020-04-24 17:00:03 -07:00
2020-04-24 17:11:21 -07:00
2021-01-04 17:02:57 +02:00
2020-11-08 08:32:38 +02:00
2021-01-04 17:02:57 +02:00
2020-10-27 15:04:18 +02:00
2020-05-05 23:35:08 -04:00
2020-09-29 15:52:13 +03:00
2019-11-19 17:23:47 +08:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2019-10-02 11:30:20 +02:00
2020-07-24 14:40:19 +08:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2021-01-04 17:02:57 +02:00
2020-07-21 08:13:05 +03:00
2020-12-13 11:11:29 +02:00