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 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice