mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 01:14:52 +01:00
Check for read errors.
This commit is contained in:
parent
be5c85a71b
commit
70cd856a0c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132918
@ -196,6 +196,8 @@ cont:
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (ferror(stdin))
|
||||
err(1, NULL);
|
||||
} while (argc > 0);
|
||||
fflush(stdout);
|
||||
exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user