Date: prev next · Thread: first prev next last
2019 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.


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


** CID 1452268:  Uninitialized variables  (UNINIT)
/sal/osl/all/log.cxx: 223 in 
<unnamed>::maybeOutputTimestamp(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char>> &)()


________________________________________________________________________________________________________
*** CID 1452268:  Uninitialized variables  (UNINIT)
/sal/osl/all/log.cxx: 223 in 
<unnamed>::maybeOutputTimestamp(std::__cxx11::basic_ostringstream<char, std::char_traits<char>, 
std::allocator<char>> &)()
217             tm.tm_sec = dateTime.Seconds;
218             tm.tm_min = dateTime.Minutes;
219             tm.tm_hour = dateTime.Hours;
220             tm.tm_mday = dateTime.Day;
221             tm.tm_mon = dateTime.Month - 1;
222             tm.tm_year = dateTime.Year - 1900;
    CID 1452268:  Uninitialized variables  (UNINIT)
    Using uninitialized value "tm.tm_yday" when calling "strftime".
223             strftime(ts, sizeof(ts), "%Y-%m-%d:%H:%M:%S", &tm);
224             char milliSecs[11];
225             snprintf(milliSecs, sizeof(milliSecs), "%03u",
226                      static_cast<unsigned>(dateTime.NanoSeconds / 1000000));
227             s << ts << '.' << milliSecs << ':';
228         }


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRZBnDJeNb0HijxaS4JNJPxk3kpyAm2AYqo71yXmnOxB73RtgzoPcQtNNP5dkHLuV1E-3D_g-2BrHdvqzaBa155F-2F8AmPhpJzY63UzWDisJV95WUBpGhqFw1ICExHG8aMaV2EoFpyYGtrkcmWaBmi4xMdiWjSL9kYLAP2r6yQ1CFC2IEo8KUzH9YVActk0P0yFYi0pBBMFJmFQOpQib3tA3wLlm5QoLR3AFIu5KMUNWjwRs-2FlEaTzYvdT7M21WjfpNzv2wWN1iIqxT51c782MJhAsaQg6L-2BpWUEsSXy3swqIS73yy8L4-3D


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.