Hello community,
here is the log from the commit of package haveged for openSUSE:Factory checked in at 2019-08-05 10:29:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/haveged (Old)
and /work/SRC/openSUSE:Factory/.haveged.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "haveged"
Mon Aug 5 10:29:14 2019 rev:54 rq:719793 version:1.9.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/haveged/haveged.changes 2019-05-28 09:41:22.601883505 +0200
+++ /work/SRC/openSUSE:Factory/.haveged.new.4126/haveged.changes 2019-08-05 10:29:18.431452794 +0200
@@ -1,0 +2,6 @@
+Tue Jul 30 08:25:59 UTC 2019 - Andreas Schwab
From 6d52229623c296385813bc8178987cd50fa55193 Mon Sep 17 00:00:00 2001 From: Andreas Schwab
Date: Thu, 25 Jul 2019 11:19:12 +0200 Subject: [PATCH] Fix type mismatch in get_poolsize
Make max_bits signed so that error checking works. --- src/haveged.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/haveged.c b/src/haveged.c index 9788bda..543d833 100644 --- a/src/haveged.c +++ b/src/haveged.c @@ -496,7 +496,8 @@ static int get_poolsize( /* RETURN: number of bits */ void) /* IN: nothing */ { FILE *poolsize_fh,*osrel_fh; - unsigned int max_bits,major,minor; + unsigned int major,minor; + int max_bits; poolsize_fh = fopen(params->poolsize, "rb"); if (poolsize_fh) { -- 2.22.0