mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-17 01:52:06 +00:00
Fix out_flush() in case of zero length message
This commit is contained in:
parent
c8daffb4b6
commit
11c5d86d40
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
static void out_flush (out_t *out)
|
static void out_flush (out_t *out)
|
||||||
{
|
{
|
||||||
|
if (out->len == 0) return;
|
||||||
|
|
||||||
fwrite (out->buf, 1, out->len, out->fp);
|
fwrite (out->buf, 1, out->len, out->fp);
|
||||||
|
|
||||||
out->len = 0;
|
out->len = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user