[
https://issues.apache.org/jira/browse/AMBARI-16731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masahiro TANAKA updated AMBARI-16731:
-------------------------------------
Description:
{{reqSignCrt}} method opens CSR file with {{open}} function but that doesn't
close it.
And, {{loadSrvrCrt}} method opens a file but this is unclosed too.
They waste resources and may cause a problem.
was:
{{reqSignCrt}} method opens CSR file with {{open}} function but that doesn't
close it.
This wastes resources and may cause a problem.
> Should close file object in security.py
> ---------------------------------------
>
> Key: AMBARI-16731
> URL: https://issues.apache.org/jira/browse/AMBARI-16731
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: trunk
> Reporter: Masahiro TANAKA
> Priority: Minor
> Labels: patch-available
> Attachments: AMBARI-16371.patch, AMBARI-16731.1.patch
>
>
> {{reqSignCrt}} method opens CSR file with {{open}} function but that doesn't
> close it.
> And, {{loadSrvrCrt}} method opens a file but this is unclosed too.
> They waste resources and may cause a problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)