diff options
author | Jirka Hladky <jhladky@redhat.com> | 2021-01-02 02:15:15 +0100 |
---|---|---|
committer | Jirka Hladky <jhladky@redhat.com> | 2021-01-02 02:15:15 +0100 |
commit | 4ee856dfdb77bc9947c342760c998b2eb9adc145 (patch) | |
tree | 9e6b3b2eedd8b1a1c4be122d47e8e36900be2f50 /src/havegecmd.c | |
parent | Updated year to 2021 (diff) | |
download | haveged-4ee856dfdb77bc9947c342760c998b2eb9adc145.tar.xz haveged-4ee856dfdb77bc9947c342760c998b2eb9adc145.zip |
Preparing v1.9.14 release
Diffstat (limited to 'src/havegecmd.c')
-rw-r--r-- | src/havegecmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/havegecmd.c b/src/havegecmd.c index 2bad675..9ced105 100644 --- a/src/havegecmd.c +++ b/src/havegecmd.c @@ -371,7 +371,7 @@ ssize_t safein( /* RETURN: read bytes */ if (ret < 0 || avail <=0) goto out; - if (len > avail) + if (len > (unsigned int) avail) len = avail; do { |