Re: [PATCH V2] Fix return value from fstat calls

NeilBrown
2021-08-11T22:53:05Z

On Thu, 12 Aug 2021, Nigel Croxon wrote:
> To meet requirements of Common Criteria certification vulnerablility
> assessment. Static code analysis has been run and found the following
> errors:
> check_return: Calling "fstat(fd, &dstb)" without checking return value.
> This library function may fail and return an error code.

In what circumstances might it fail and return an error code?

NeilBrown