[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16810637#comment-16810637
 ] 

ASF subversion and git services commented on CLOUDSTACK-10406:
--------------------------------------------------------------

Commit 09045bd3e58c77c6612562a6c5582ae1b0f91215 in cloudstack's branch 
refs/heads/4.12 from bd2019us
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=09045bd ]

fix bugs that may cause program crash, change mkdir to mkdirs (#3249)

Fixes: 
[#CLOUDSTACK-10406](https://issues.apache.org/jira/browse/CLOUDSTACK-10406)


> File.mkdir() may fail and cause crash.
> --------------------------------------
>
>                 Key: CLOUDSTACK-10406
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10406
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.12
>            Reporter: bd2019us
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: 1.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The File.mkdir() API may fail if the parent directory does not exist, which 
> potentially will cause program crash. Since we need to create this directory 
> anyway, to ensure safety, the File.mkdirs() should be preferred. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to