mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Fix bug in sdscatfmt when % is the last format char (#9173)
For the sdscatfmt function in sds.c, when the parameter fmt ended up with '%', the behavior is undefined. This commit fix this bug. Co-authored-by: stafuc <stafuc@gmail.com>
This commit is contained in: