You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2016/05/20 01:20:16 UTC

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

     [ https://issues.apache.org/jira/browse/TRAFODION-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hans Zeller updated TRAFODION-986:
----------------------------------
    Fix Version/s:     (was: 2.0-incubating)
                   2.1-incubating

> 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
>            Assignee: Prashanth Vasudev
>             Fix For: 2.1-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)