You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2016/08/18 21:39:20 UTC

[jira] [Resolved] (TS-4696) CID 1267824: Missing unlock in mgmt/Alarms.cc

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

James Peach resolved TS-4696.
-----------------------------
    Resolution: Fixed

> CID 1267824: Missing unlock in mgmt/Alarms.cc
> ---------------------------------------------
>
>                 Key: TS-4696
>                 URL: https://issues.apache.org/jira/browse/TS-4696
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Tyler Stroh
>            Assignee: Tyler Stroh
>             Fix For: 7.0.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code}
> 2. lock: ink_mutex_acquire locks this->mutex. [show details]
>   ink_mutex_acquire(&mutex);
>   if (!((n + (int)strlen("type: alarm\n")) < max)) {
>     if (max >= 1) {
>       message[0] = '\0';
>     }
> CID 1267824 (#1 of 1): Missing unlock (LOCK)
> 5. missing_unlock: Returning without unlocking this->mutex.
>    return;
>   }
> {code}



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