New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Sat Dec 5 01:30:32 UTC 2020


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.
4 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 1470402:  SpotBugs: Internationalization  (FB.DM_DEFAULT_ENCODING)
/odk/source/com/sun/star/lib/loader/WinRegKey.java: 48 in com.sun.star.lib.loader.WinRegKey.getStringValue()()


________________________________________________________________________________________________________
*** CID 1470402:  SpotBugs: Internationalization  (FB.DM_DEFAULT_ENCODING)
/odk/source/com/sun/star/lib/loader/WinRegKey.java: 48 in com.sun.star.lib.loader.WinRegKey.getStringValue()()
42         /**
43          * Reads the default string value.
44          */
45         public String getStringValue() throws WinRegKeyException {
46             try {
47                 Process p = Runtime.getRuntime().exec(new String[]{"reg", "QUERY", m_keyName});
>>>     CID 1470402:  SpotBugs: Internationalization  (FB.DM_DEFAULT_ENCODING)
>>>     Found reliance on default encoding: new java.io.InputStreamReader(InputStream).
48                 BufferedReader r = new BufferedReader(new InputStreamReader(p.getInputStream()));
49                 String v = null;
50                 Pattern pt = Pattern.compile("\\s+\\(Default\\)\\s+REG_SZ\\s+(.+)");
51                 for (;;) {
52                     String s = r.readLine();
53                     if (s == null) {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3DFob-_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiGe6c8AT01Hb9KNQnXdZCrq2Y91B3A0hcb-2F0aK0eqa0-2FDBZHfxDlc6hw2K2UwU7Bup5h1D4a-2ByER-2FMauULh7KMotCvo3NiKHT6mp5xX3xsKPjCnmJN1rbXAhPyg-2BcMHfhGrJ-2BV2X9tMbufqhKuDu-2FBIK4JHfeErbKQmTjFgag29hPijrB7ldYHAPGK8lnVdyD



More information about the LibreOffice mailing list