[
https://issues.apache.org/jira/browse/TS-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-4696:
------------------------------
Description:
{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}
was:
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;
}
> 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
>
>
> {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)