New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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

_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux