[SSSD] [PATCH] Unchecked return value in files.c

Jakub Hrozek jhrozek at redhat.com
Mon Jan 28 09:44:02 UTC 2013


On Mon, Jan 28, 2013 at 10:37:19AM +0100, Pavel Březina wrote:
> We should also test the return value of close() on the succeeding
> lines. I wonder why Coverity didn't argue here.

My guess is that we also don't check close() return value elsewhere. The
way I've seen Coverity work is that if most other occurences are
checked, then Coverity raises a flag is one is not.



More information about the sssd-devel mailing list