]> Savannah Git Hosting - gnulib.git/commit
af_alg: avoid hangs when reading from streams
authorPádraig Brady <P@draigBrady.com>
Sun, 24 Jun 2018 08:46:10 +0000 (01:46 -0700)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Jun 2018 20:53:45 +0000 (13:53 -0700)
commit20c918561e6af48b03f3dbaa7553dfd688fd9732
treeedf1b79a60ea7e3fd7c41843728fc1ec45c9f683
parent4208523235711502ad50692ff8cc2014f3b568e5
af_alg: avoid hangs when reading from streams

* lib/af_alg.c (afalg_stream): Don't assume EOF is sticky,
and thus avoid doing a fread() when feof() is set.
* lib/md5.c: Ensure feof() is called before fread().
* lib/sha1.c: Likewise.
* lib/sha256.c: Likewise.
* lib/sha512.c: Likewise.
ChangeLog
lib/af_alg.c
lib/md5.c
lib/sha1.c
lib/sha256.c
lib/sha512.c