[Bugs] [Bug 1424793] New: Missing verification of fcntl return code

bugzilla at redhat.com bugzilla at redhat.com
Sun Feb 19 14:18:49 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1424793

            Bug ID: 1424793
           Summary: Missing verification of fcntl return code
           Product: GlusterFS
           Version: mainline
         Component: core
          Assignee: bugs at gluster.org
          Reporter: misc at zarb.org
                CC: bugs at gluster.org



Description of problem:

Coverty return a warning 
https://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-02-17-8e7a8ea8/html/1/52event.c.html#error

There is however no verification that the operation failed, and while a quick
look show that this is not a problem (that's in a destroy operation), that help
to remove noise from coverty report.

Version-Release number of selected component (if applicable):
621fedf8aeb3


How reproducible:
each time

Steps to Reproduce:
1.look at coverty report
2.
3.

Actual results:
fnctl return is not checked

Expected results:
fnctl should be checked

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list