You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Stefan Bodewig (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/30 21:43:40 UTC

[jira] [Resolved] (RAT-109) Return value of mkdirs() is not checked and no error handling occurs

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

Stefan Bodewig resolved RAT-109.
--------------------------------

    Resolution: Fixed

should be fixed with svn revision 1208763
                
> Return value of mkdirs() is not checked and no error handling occurs
> --------------------------------------------------------------------
>
>                 Key: RAT-109
>                 URL: https://issues.apache.org/jira/browse/RAT-109
>             Project: RAT
>          Issue Type: Bug
>    Affects Versions: 0.9
>         Environment: Revision: 1208077
>            Reporter: Hugo Hirsch
>             Fix For: 0.9
>
>         Attachments: RAT106errorPatch.diff, RAT109checkmkdirsReturnValue.patch
>
>
> The code contains calls to mkdir() without checking its return value.
> Patch attached for classes:
> *       apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
> *       apache-rat-plugin/src/main/java/org/apache/rat/mp/RatCheckMojo.java
> *       apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira