New Defects reported by Coverity Scan for LibreOffice
scan-admin at coverity.com
scan-admin at coverity.com
Wed Jun 14 14:14:48 UTC 2023
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 1532384: Memory - illegal accesses (OVERRUN)
/sc/source/filter/oox/condformatbuffer.cxx: 268 in oox::xls::<unnamed>::importOOXColor(const oox::AttributeList &, const oox::xls::ThemeBuffer &, const oox::GraphicHelper &)()
________________________________________________________________________________________________________
*** CID 1532384: Memory - illegal accesses (OVERRUN)
/sc/source/filter/oox/condformatbuffer.cxx: 268 in oox::xls::<unnamed>::importOOXColor(const oox::AttributeList &, const oox::xls::ThemeBuffer &, const oox::GraphicHelper &)()
262 nColor = rThemeBuffer.getColorByIndex( nThemeIndex );
263 }
264 else if (rAttribs.hasAttribute(XML_indexed))
265 {
266 sal_uInt32 nIndexed = rAttribs.getUnsigned(XML_indexed, 0);
267 if (nIndexed < sizeof(IndexedColors))
>>> CID 1532384: Memory - illegal accesses (OVERRUN)
>>> Overrunning array "oox::xls::IndexedColors" of 66 4-byte elements at element index 263 (byte offset 1055) using index "nIndexed" (which evaluates to 263).
268 nColor = IndexedColors[nIndexed];
269 }
270
271 ::Color aColor;
272 double nTint = rAttribs.getDouble(XML_tint, 0.0);
273 if (nTint != 0.0)
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNgi9duPy3v-2FzgFDd2LJ-2BDKI-3D4i9j_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiCse12Q9RqDBKvTdXFqnSYqIPnp-2FfdbD1Ifp-2FuOwwQ8Qo2bM9oOSeI7wqogUQk6-2BOjb6gfCJL05OKBjXPrkXPHEq5NSv3wLCTAo1Ro3V4ldE4H3qDVn2ndNLSUG1yfrHun5MGgR6RlUyBgsQtvliWqfAVSm-2BVgIq69E6PnbrBmLE-3D
More information about the LibreOffice
mailing list