Skip to content

Commit 0838b5b

Browse files
Make sure we NULL terminate our pool ID
1 parent dd3a11a commit 0838b5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library.c

+1
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ redis_pool_spprintf(RedisSock *redis_sock, char *fmt, ...) {
808808
fmt++;
809809
}
810810

811+
smart_str_0(&str);
811812
return str.s;
812813
}
813814

0 commit comments

Comments
 (0)