1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-25 23:21:05 +00:00

Use vasprintf not asprintf

This commit is contained in:
jsteube 2016-12-24 00:57:38 +01:00
parent a077a72a4e
commit 9113a57fe6

View File

@ -104,7 +104,7 @@ void hc_asprintf (char **strp, const char *fmt, ...)
va_list args; va_list args;
va_start (args, fmt); va_start (args, fmt);
int rc __attribute__((unused)); int rc __attribute__((unused));
rc = asprintf (strp, fmt, args); rc = vasprintf (strp, fmt, args);
va_end (args); va_end (args);
} }