Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Minor issue: va_copy must be matched by va_end #1187

Closed
wants to merge 1 commit into from

1 participant

@pietern

Hat tip to @rfuchs. See: redis/hiredis#178.

@mattsta mattsta referenced this pull request from a commit in mattsta/redis
@pietern pietern va_copy must be matched by va_end
Hat tip to @rfuchs. See: redis/hiredis#178.

Fixes #1187
90f0afe
@mattsta mattsta referenced this pull request from a commit in mattsta/redis
@pietern pietern va_copy must be matched by va_end
Hat tip to @rfuchs. See: redis/hiredis#178.

Fixes #1187
c3db4f7
@mattsta mattsta referenced this pull request
Closed

ALL simple issue fixes #1906

@mattsta mattsta referenced this pull request from a commit in mattsta/redis
@pietern pietern va_copy must be matched by va_end
Hat tip to @rfuchs. See: redis/hiredis#178.

Fixes #1187
9e3e5c1
@pietern pietern closed this pull request from a commit
@pietern pietern va_copy must be matched by va_end
Hat tip to @rfuchs. See: redis/hiredis#178.

Fixes #1187
cf85b5b
@pietern pietern closed this in cf85b5b
@pietern pietern referenced this pull request from a commit
@pietern pietern va_copy must be matched by va_end
Hat tip to @rfuchs. See: redis/hiredis#178.

Fixes #1187
327831e
@pietern pietern referenced this pull request from a commit
@pietern pietern va_copy must be matched by va_end
Hat tip to @rfuchs. See: redis/hiredis#178.

Fixes #1187
f89a7bb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 11, 2013
  1. @pietern

    va_copy must be matched by va_end

    pietern authored
    Hat tip to @rfuchs. See: redis/hiredis#178.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/sds.c
View
1  src/sds.c
@@ -233,6 +233,7 @@ sds sdscatvprintf(sds s, const char *fmt, va_list ap) {
buf[buflen-2] = '\0';
va_copy(cpy,ap);
vsnprintf(buf, buflen, fmt, cpy);
+ va_end(ap);
if (buf[buflen-2] != '\0') {
zfree(buf);
buflen *= 2;
Something went wrong with that request. Please try again.