Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index



Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

1 new defect(s) introduced to LibreOffice found with Coverity Scan.
35 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by 
Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1343654:  FindBugs: Bad practice  (FB.DMI_RANDOM_USED_ONLY_ONCE)
/javaunohelper/com/sun/star/comp/helper/Bootstrap.java: 317 in 
com.sun.star.comp.helper.Bootstrap.bootstrap(java.lang.String[])()


________________________________________________________________________________________________________
*** CID 1343654:  FindBugs: Bad practice  (FB.DMI_RANDOM_USED_ONLY_ONCE)
/javaunohelper/com/sun/star/comp/helper/Bootstrap.java: 317 in 
com.sun.star.comp.helper.Bootstrap.bootstrap(java.lang.String[])()
311                     Bootstrap.class.getClassLoader(), sOffice );
312                 if ( fOffice == null )
313                     throw new BootstrapException( "no office executable found!" );
314     
315                 // create random pipe name
316                 String sPipeName = "uno" +
    CID 1343654:  FindBugs: Bad practice  (FB.DMI_RANDOM_USED_ONLY_ONCE)
    Random object created and used only once.
317                     Long.toString( (new Random()).nextLong() & 0x7fffffffffffffffL );
318     
319                 // create call with arguments
320                 String[] cmdArray = new String[ argArray.length + 2 ];
321                 cmdArray[0] = fOffice.getPath();
322                 cmdArray[1] = ( "--accept=pipe,name=" + sPipeName + ";urp;" );


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

To manage Coverity Scan email notifications for "libreoffice@lists.freedesktop.org", click 
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.