X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Fvsnprintf.c;h=ff792e1717223c0dd51f2d46433961a5aa6677f1;hb=5eb0d33ec0f08b123c5c10877d6258d05fa9453a;hp=bda6b49bda3479838fce429d4c4651433946cfa6;hpb=d8d19f4d46284d5b6124710a5235b6fe090c013f;p=musl diff --git a/src/stdio/vsnprintf.c b/src/stdio/vsnprintf.c index bda6b49b..ff792e17 100644 --- a/src/stdio/vsnprintf.c +++ b/src/stdio/vsnprintf.c @@ -17,6 +17,7 @@ int vsnprintf(char *s, size_t n, const char *fmt, va_list ap) f.write = sn_write; f.buf_size = 1; f.buf = buf; + f.owner = -1; if (n > INT_MAX) { errno = EOVERFLOW; return -1;