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:
parent
a077a72a4e
commit
9113a57fe6
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user