1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/daemons/dmfilemapd
Bryn M. Reeves f66bc3dab0 dmfilemapd: fix off-by-one in fd comparison (coverity)
The function _filemap_monitor_check_file_unlinked() attempts to
test whether a fd value should be closed by comparison to zero:

        if ((fd > 0) && close(fd))
                log_error("Error closing fd %d", fd);

The test should be '>=' since 0 is a valid file descriptor.
2017-03-29 18:34:19 +01:00
..
.gitignore daemons: add dmfilemapd 2017-03-09 18:50:15 +00:00
dmfilemapd.c dmfilemapd: fix off-by-one in fd comparison (coverity) 2017-03-29 18:34:19 +01:00
Makefile.in dmfilemapd: Fix install target 2017-03-28 21:52:30 +02:00