You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:19:19 UTC

[jira] [Created] (TRAFODION-986) LP Bug: 1419906 - pthread_mutex calls do not always check return code

Alice Chen created TRAFODION-986:
------------------------------------

             Summary: LP Bug: 1419906 - pthread_mutex calls do not always check return code
                 Key: TRAFODION-986
                 URL: https://issues.apache.org/jira/browse/TRAFODION-986
             Project: Apache Trafodion
          Issue Type: Bug
          Components: foundation
            Reporter: dave george
             Fix For: 2.0-incubating


In quite a few places, the code shows:
  pthread_mutex_lock(<mutex>) or pthread_mutex_unlock(<mutex>)
The return code from these calls should be checked.

A more generic summary would be something like:
return codes from functions that return error codes should be checked.

It may be possible to use coverity or other such tool in trying to automate the more general issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)