diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-10-31 13:49:35 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-10-31 13:49:35 +0900 |
commit | e6c64eea1e67361f0e39e06c7df918368f649ab9 (patch) | |
tree | 80fdbb813fa6163ac87415c70ea2d25c73142ca5 /apps/req.c | |
parent | ffd23209933ea0ad5543f15ca6303d63d8dac826 (diff) | |
download | openssl-ky/pem-read-fix-unsigned-cast.tar.gz |
Prevent infinite loop when reading PEMky/pem-read-fix-unsigned-cast
BIO_gets() may return a negative number on failure. Do not cast into an
unsigned type before checking it.
Diffstat (limited to 'apps/req.c')
0 files changed, 0 insertions, 0 deletions