diff options
author | Karel Zak | 2019-05-16 14:20:32 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-16 14:22:43 +0200 |
commit | f06d8b69a95ec84b5a50fd705a7588b1fe3c2527 (patch) | |
tree | 29f0e4c46dd4bd42f604241a726ce727027ddd1d /misc-utils/fincore.c | |
parent | blkid: improve strcpy() usage [coverity scan] (diff) | |
download | kernel-qcow2-util-linux-f06d8b69a95ec84b5a50fd705a7588b1fe3c2527.tar.gz kernel-qcow2-util-linux-f06d8b69a95ec84b5a50fd705a7588b1fe3c2527.tar.xz kernel-qcow2-util-linux-f06d8b69a95ec84b5a50fd705a7588b1fe3c2527.zip |
cal: make sure months_in_row makes sense [coverity scan]
* avoid divide by zero in mountly() dues to wrong months_in_row
* make sure months_in_row is at least 1
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/fincore.c')
0 files changed, 0 insertions, 0 deletions