Commit 2ea9595
committed
Add error handling for failing fstat() calls in copy.c.
These calls are pretty much guaranteed not to fail unless something
has gone horribly wrong, and even in that case we'd just error out a
short time later. But since several code checkers complain about the
missing check it seems worthwile to fix it nonetheless.
Pointed out by Coverity.1 parent 8cadeb7 commit 2ea9595
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | | - | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1711 | 1713 | | |
1712 | 1714 | | |
1713 | 1715 | | |
| |||
2718 | 2720 | | |
2719 | 2721 | | |
2720 | 2722 | | |
2721 | | - | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
2722 | 2726 | | |
2723 | 2727 | | |
2724 | 2728 | | |
| |||
0 commit comments