We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffd9dd8 + 37ee73c commit e51eaefCopy full SHA for e51eaef
stdlib/public/runtime/ReflectionMirror.mm
@@ -56,6 +56,7 @@ int asprintf(char **strp, const char *fmt, ...) {
56
return -1;
57
58
length = _vsnprintf(*strp, length, fmt, argp1);
59
+ (*strp)[length] = '\0';
60
61
va_end(argp0);
62
va_end(argp1);
0 commit comments