diff options
author | Pauli <paul.dale@oracle.com> | 2017-08-24 10:46:31 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-08-25 06:42:17 +1000 |
commit | 678c462e213c3bf479bc93e4df5899ecfd914f91 (patch) | |
tree | debe6087b1bc4e34e59073e0430216c72d16be58 /apps/passwd.c | |
parent | f7d1d2a479adaaae222d88710c6ceb85706ebb0f (diff) |
Check for EOF in ASCII conversions.
The C standard defines EOF as:
... an integer constant expression, with type int and a negative value...
This means a conforming implemenetation could define this as a one of the
printable characters. This won't be a problem for ASCII.
A specific test case has been added for EOF.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4240)
Diffstat (limited to 'apps/passwd.c')
0 files changed, 0 insertions, 0 deletions