New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Fri Apr 10 14:44:30 BST 2026


Hi,

Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

16 new defect(s) introduced to digiKam found with Coverity Scan.
33 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 16 of 16 defect(s)


** CID 1691425:       Uninitialized variables  (UNINIT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/osm/MarbleZip.cpp: 1073           in Marble::MarbleZipReader::entryInfoAt(int) const()


_____________________________________________________________________________________________
*** CID 1691425:         Uninitialized variables  (UNINIT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/osm/MarbleZip.cpp: 1073             in Marble::MarbleZipReader::entryInfoAt(int) const()
1067     
1068         if (index >= 0 && index < d->fileHeaders.count())
1069         {
1070             d->fillFileInfo(index, fi);
1071         }
1072     
>>>     CID 1691425:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "fi". Field "fi.d" is uninitialized.
1073         return fi;
1074     }
1075     
1076     /*!
1077         Fetch the file contents from the zip archive and return the uncompressed bytes.
1078     */

** CID 1691424:       Insecure data handling  (INTEGER_OVERFLOW)
/home/gilles/devel/GIT/9.x/core/libs/database/item/scanner/itemscanner_photo.cpp: 470           in Digikam::ItemScanner::scanTags()()


_____________________________________________________________________________________________
*** CID 1691424:         Insecure data handling  (INTEGER_OVERFLOW)
/home/gilles/devel/GIT/9.x/core/libs/database/item/scanner/itemscanner_photo.cpp: 470             in Digikam::ItemScanner::scanTags()()
464         int pickId = d->metadata->getItemPickLabel();
465     
466         if (pickId != -1)
467         {
468             qCDebug(DIGIKAM_DATABASE_LOG) << "Pick Label found :" << pickId;
469     
>>>     CID 1691424:         Insecure data handling  (INTEGER_OVERFLOW)
>>>     The cast of "(Digikam::PickLabel)pickId" to a signed type could result in a negative number.
470             int tagId = TagsCache::instance()->tagForPickLabel((PickLabel)pickId);
471     
472             if (tagId)
473             {
474                 d->commit.tagIds << tagId;
475                 d->commit.hasPickTag = true;

** CID 1691423:       Uninitialized variables  (USE_AFTER_MOVE)
/usr/include/c++/13/bits/stl_bvector.h: 612           in std::_Bvector_base<std::allocator<bool>>::_Bvector_impl::_Bvector_impl(std::_Bvector_base<std::allocator<bool>>::_Bvector_impl&&)()


_____________________________________________________________________________________________
*** CID 1691423:         Uninitialized variables  (USE_AFTER_MOVE)
/usr/include/c++/13/bits/stl_bvector.h: 612             in std::_Bvector_base<std::allocator<bool>>::_Bvector_impl::_Bvector_impl(std::_Bvector_base<std::allocator<bool>>::_Bvector_impl&&)()
606     
607     #if __cplusplus >= 201103L
608     	// Not defaulted, to enforce noexcept(true) even when
609     	// !is_nothrow_move_constructible<_Bit_alloc_type>.
610     	_GLIBCXX20_CONSTEXPR
611     	_Bvector_impl(_Bvector_impl&& __x) noexcept
>>>     CID 1691423:         Uninitialized variables  (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
612     	: _Bit_alloc_type(std::move(__x)), _Bvector_impl_data(std::move(__x))
613     	{ }
614     
615     	_GLIBCXX20_CONSTEXPR
616     	_Bvector_impl(_Bit_alloc_type&& __a, _Bvector_impl&& __x) noexcept
617     	: _Bit_alloc_type(std::move(__a)), _Bvector_impl_data(std::move(__x))

** CID 1691422:       Insecure data handling  (TAINTED_SCALAR)
/home/gilles/devel/GIT/9.x/core/libs/rawengine/libraw/src/write/file_write.cpp: 192           in LibRaw::write_ppm_tiff()()


_____________________________________________________________________________________________
*** CID 1691422:         Insecure data handling  (TAINTED_SCALAR)
/home/gilles/devel/GIT/9.x/core/libs/rawengine/libraw/src/write/file_write.cpp: 192             in LibRaw::write_ppm_tiff()()
186             ppm2 = (ushort *)ppm.data();
187             if (output_tiff)
188             {
189                 tiff_head(&th, 1);
190                 fwrite(&th, sizeof th, 1, ofp);
191                 if (oprof)
>>>     CID 1691422:         Insecure data handling  (TAINTED_SCALAR)
>>>     Passing tainted expression "__bswap_32(this->libraw_internal_data.output_data.oprof[0])" to "fwrite", which uses it as an offset.
192                     fwrite(oprof, ntohl(oprof[0]), 1, ofp);
193             }
194             else if (colors > 3)
195     	{
196     	    if(imgdata.params.output_flags & LIBRAW_OUTPUT_FLAGS_PPMMETA)
197     	      fprintf(ofp,

** CID 1691421:       Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/osm/OsmTagEditorWidget.cpp: 184           in Marble::OsmTagEditorWidget::handleDoubleClick(QTreeWidgetItem *, int)()


_____________________________________________________________________________________________
*** CID 1691421:         Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/osm/OsmTagEditorWidget.cpp: 184             in Marble::OsmTagEditorWidget::handleDoubleClick(QTreeWidgetItem *, int)()
178         // The user double-clicked on the "Add custom tag..." element, so the text is cleared
179     
180         if      (index == lastIndex)
181         {
182             QString key = item->text(0);
183     
>>>     CID 1691421:         Incorrect expression  (NO_EFFECT)
>>>     Part "this->d" of statement "(this->d) , (&Marble::OsmTagEditorWidgetPrivate::m_customTagAdderText)" has no effect due to the comma.
184             if (key == d->m_customTagAdderText)
185             {
186                 item->setText(0, QString());
187             }
188         }
189         else if (!item->isDisabled())

** CID 1691420:         (UNINIT)
/usr/include/c++/13/bits/stl_tree.h: 1549           in std::_Rb_tree<QString, std::pair<const QString, QMap<QString, QString>>, std::_Select1st<std::pair<const QString, QMap<QString, QString>>>, std::less<QString>, std::allocator<std::pair<const QString, QMap<QString, QString>>>>::extract(const QString &)()
/usr/include/c++/13/bits/stl_tree.h: 1549           in std::_Rb_tree<QString, std::pair<const QString, Marble::GeoDataSchema>, std::_Select1st<std::pair<const QString, Marble::GeoDataSchema>>, std::less<QString>, std::allocator<std::pair<const QString, Marble::GeoDataSchema>>>::extract(const QString &)()
/usr/include/c++/13/bits/stl_tree.h: 1549           in std::_Rb_tree<QString, std::pair<const QString, QString>, std::_Select1st<std::pair<const QString, QString>>, std::less<QString>, std::allocator<std::pair<const QString, QString>>>::extract(const QString &)()
/usr/include/c++/13/bits/stl_tree.h: 1549           in std::_Rb_tree<QString, std::pair<const QString, QVariant>, std::_Select1st<std::pair<const QString, QVariant>>, std::less<QString>, std::allocator<std::pair<const QString, QVariant>>>::extract(const QString &)()
/usr/include/c++/13/bits/stl_tree.h: 1549           in std::_Rb_tree<int, std::pair<const int, QPersistentModelIndex>, std::_Select1st<std::pair<const int, QPersistentModelIndex>>, std::less<int>, std::allocator<std::pair<const int, QPersistentModelIndex>>>::extract(const int &)()
/usr/include/c++/13/bits/stl_tree.h: 1549           in std::_Rb_tree<int, std::pair<const int, Digikam::ExifToolProcess::Result>, std::_Select1st<std::pair<const int, Digikam::ExifToolProcess::Result>>, std::less<int>, std::allocator<std::pair<const int, Digikam::ExifToolProcess::Result>>>::extract(const int &)()


_____________________________________________________________________________________________
*** CID 1691420:           (UNINIT)
/usr/include/c++/13/bits/stl_tree.h: 1549             in std::_Rb_tree<QString, std::pair<const QString, QMap<QString, QString>>, std::_Select1st<std::pair<const QString, QMap<QString, QString>>>, std::less<QString>, std::allocator<std::pair<const QString, QMap<QString, QString>>>>::extract(const QString &)()
1543           extract(const key_type& __k)
1544           {
1545     	node_type __nh;
1546     	auto __pos = find(__k);
1547     	if (__pos != end())
1548     	  __nh = extract(const_iterator(__pos));
>>>     CID 1691420:           (UNINIT)
>>>     Using uninitialized value "__nh". Field "__nh._M_alloc" is uninitialized.
1549     	return __nh;
1550           }
1551     
1552           template<typename _Compare2>
1553     	using _Compatible_tree
1554     	  = _Rb_tree<_Key, _Val, _KeyOfValue, _Compare2, _Alloc>;
/usr/include/c++/13/bits/stl_tree.h: 1549             in std::_Rb_tree<QString, std::pair<const QString, Marble::GeoDataSchema>, std::_Select1st<std::pair<const QString, Marble::GeoDataSchema>>, std::less<QString>, std::allocator<std::pair<const QString, Marble::GeoDataSchema>>>::extract(const QString &)()
1543           extract(const key_type& __k)
1544           {
1545     	node_type __nh;
1546     	auto __pos = find(__k);
1547     	if (__pos != end())
1548     	  __nh = extract(const_iterator(__pos));
>>>     CID 1691420:           (UNINIT)
>>>     Using uninitialized value "__nh". Field "__nh._M_alloc" is uninitialized.
1549     	return __nh;
1550           }
1551     
1552           template<typename _Compare2>
1553     	using _Compatible_tree
1554     	  = _Rb_tree<_Key, _Val, _KeyOfValue, _Compare2, _Alloc>;
/usr/include/c++/13/bits/stl_tree.h: 1549             in std::_Rb_tree<QString, std::pair<const QString, QString>, std::_Select1st<std::pair<const QString, QString>>, std::less<QString>, std::allocator<std::pair<const QString, QString>>>::extract(const QString &)()
1543           extract(const key_type& __k)
1544           {
1545     	node_type __nh;
1546     	auto __pos = find(__k);
1547     	if (__pos != end())
1548     	  __nh = extract(const_iterator(__pos));
>>>     CID 1691420:           (UNINIT)
>>>     Using uninitialized value "__nh". Field "__nh._M_alloc" is uninitialized.
1549     	return __nh;
1550           }
1551     
1552           template<typename _Compare2>
1553     	using _Compatible_tree
1554     	  = _Rb_tree<_Key, _Val, _KeyOfValue, _Compare2, _Alloc>;
/usr/include/c++/13/bits/stl_tree.h: 1549             in std::_Rb_tree<QString, std::pair<const QString, QVariant>, std::_Select1st<std::pair<const QString, QVariant>>, std::less<QString>, std::allocator<std::pair<const QString, QVariant>>>::extract(const QString &)()
1543           extract(const key_type& __k)
1544           {
1545     	node_type __nh;
1546     	auto __pos = find(__k);
1547     	if (__pos != end())
1548     	  __nh = extract(const_iterator(__pos));
>>>     CID 1691420:           (UNINIT)
>>>     Using uninitialized value "__nh". Field "__nh._M_alloc" is uninitialized.
1549     	return __nh;
1550           }
1551     
1552           template<typename _Compare2>
1553     	using _Compatible_tree
1554     	  = _Rb_tree<_Key, _Val, _KeyOfValue, _Compare2, _Alloc>;
/usr/include/c++/13/bits/stl_tree.h: 1549             in std::_Rb_tree<int, std::pair<const int, QPersistentModelIndex>, std::_Select1st<std::pair<const int, QPersistentModelIndex>>, std::less<int>, std::allocator<std::pair<const int, QPersistentModelIndex>>>::extract(const int &)()
1543           extract(const key_type& __k)
1544           {
1545     	node_type __nh;
1546     	auto __pos = find(__k);
1547     	if (__pos != end())
1548     	  __nh = extract(const_iterator(__pos));
>>>     CID 1691420:           (UNINIT)
>>>     Using uninitialized value "__nh". Field "__nh._M_alloc" is uninitialized.
1549     	return __nh;
1550           }
1551     
1552           template<typename _Compare2>
1553     	using _Compatible_tree
1554     	  = _Rb_tree<_Key, _Val, _KeyOfValue, _Compare2, _Alloc>;
/usr/include/c++/13/bits/stl_tree.h: 1549             in std::_Rb_tree<int, std::pair<const int, Digikam::ExifToolProcess::Result>, std::_Select1st<std::pair<const int, Digikam::ExifToolProcess::Result>>, std::less<int>, std::allocator<std::pair<const int, Digikam::ExifToolProcess::Result>>>::extract(const int &)()
1543           extract(const key_type& __k)
1544           {
1545     	node_type __nh;
1546     	auto __pos = find(__k);
1547     	if (__pos != end())
1548     	  __nh = extract(const_iterator(__pos));
>>>     CID 1691420:           (UNINIT)
>>>     Using uninitialized value "__nh". Field "__nh._M_alloc" is uninitialized.
1549     	return __nh;
1550           }
1551     
1552           template<typename _Compare2>
1553     	using _Compatible_tree
1554     	  = _Rb_tree<_Key, _Val, _KeyOfValue, _Compare2, _Alloc>;

** CID 1691419:       Incorrect expression  (DIVIDE_BY_ZERO)
/home/gilles/devel/GIT/9.x/core/libs/dimg/filters/hotpixels/hotpixelfixer.cpp: 368           in Digikam::HotPixelFixer::weightPixels(Digikam::DImg &, const Digikam::HotPixelProps &, int, Digikam::HotPixelContainer::Direction, int)()


_____________________________________________________________________________________________
*** CID 1691419:         Incorrect expression  (DIVIDE_BY_ZERO)
/home/gilles/devel/GIT/9.x/core/libs/dimg/filters/hotpixels/hotpixelfixer.cpp: 368             in Digikam::HotPixelFixer::weightPixels(Digikam::DImg &, const Digikam::HotPixelProps &, int, Digikam::HotPixelContainer::Direction, int)()
362                         if      (fabs (v) <= DBL_MIN)
363                         {
364                             component = 0;
365                         }
366                         else if (sum_weight >= DBL_MIN)
367                         {
>>>     CID 1691419:         Incorrect expression  (DIVIDE_BY_ZERO)
>>>     In expression "v / sum_weight", division by expression "sum_weight" which may be zero has undefined behavior.
368                             component = (int) (v / sum_weight);
369     
370                             // Clamp value
371     
372                             if (component < 0)
373                             {

** CID 1691418:       Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 168           in Marble::AbstractFloatItem::setFont(const QFont &)()


_____________________________________________________________________________________________
*** CID 1691418:         Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 168             in Marble::AbstractFloatItem::setFont(const QFont &)()
162     {
163         return d->s_font;
164     }
165     
166     void AbstractFloatItem::setFont(const QFont& font)
167     {
>>>     CID 1691418:         Incorrect expression  (NO_EFFECT)
>>>     Part "this->d" of statement "(this->d) , (&Marble::AbstractFloatItemPrivate::s_font)" has no effect due to the comma.
168         d->s_font = font;
169         update();
170     }
171     
172     QString AbstractFloatItem::renderPolicy() const
173     {

** CID 1691416:       Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 157           in Marble::AbstractFloatItem::setPen(const QPen &)()


_____________________________________________________________________________________________
*** CID 1691416:         Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 157             in Marble::AbstractFloatItem::setPen(const QPen &)()
151     {
152         return d->s_pen;
153     }
154     
155     void AbstractFloatItem::setPen(const QPen& pen)
156     {
>>>     CID 1691416:         Incorrect expression  (NO_EFFECT)
>>>     Part "this->d" of statement "(this->d) , (&Marble::AbstractFloatItemPrivate::s_pen)" has no effect due to the comma.
157         d->s_pen = pen;
158         update();
159     }
160     
161     QFont AbstractFloatItem::font() const
162     {

** CID 1691415:       Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 163           in Marble::AbstractFloatItem::font() const()


_____________________________________________________________________________________________
*** CID 1691415:         Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 163             in Marble::AbstractFloatItem::font() const()
157         d->s_pen = pen;
158         update();
159     }
160     
161     QFont AbstractFloatItem::font() const
162     {
>>>     CID 1691415:         Incorrect expression  (NO_EFFECT)
>>>     Part "this->d" of statement "(this->d) , (&Marble::AbstractFloatItemPrivate::s_font)" has no effect due to the comma.
163         return d->s_font;
164     }
165     
166     void AbstractFloatItem::setFont(const QFont& font)
167     {
168         d->s_font = font;

** CID 1691414:       Memory - corruptions  (OVERLAPPING_COPY)
/home/gilles/devel/GIT/9.x/core/libs/rawengine/libraw/src/utils/open.cpp: 1081           in LibRaw::open_datastream(LibRaw_abstract_datastream *)()


_____________________________________________________________________________________________
*** CID 1691414:         Memory - corruptions  (OVERLAPPING_COPY)
/home/gilles/devel/GIT/9.x/core/libs/rawengine/libraw/src/utils/open.cpp: 1081             in LibRaw::open_datastream(LibRaw_abstract_datastream *)()
1075           imgdata.idata.colors = 4;
1076           imgdata.sizes.top_margin+=2;
1077           imgdata.sizes.left_margin+=2;
1078           imgdata.sizes.width-=4;
1079           imgdata.sizes.height-=4;
1080           IO.mix_green = 1;
>>>     CID 1691414:         Memory - corruptions  (OVERLAPPING_COPY)
>>>     Assigning "this->load_raw" to "this->pentax_component_load_raw", which have overlapping memory locations.
1081           pentax_component_load_raw = load_raw;
1082           load_raw = &LibRaw::pentax_4shot_load_raw;
1083         }
1084     
1085     	if (!imgdata.idata.dng_version && makeIs(LIBRAW_CAMERAMAKER_Leaf) &&
1086             !strcmp(imgdata.idata.model, "Credo 50"))

** CID 1691413:       Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 152           in Marble::AbstractFloatItem::pen() const()


_____________________________________________________________________________________________
*** CID 1691413:         Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/core/AbstractFloatItem.cpp: 152             in Marble::AbstractFloatItem::pen() const()
146     {
147         return RenderPlugin::PanelRenderType;
148     }
149     
150     QPen AbstractFloatItem::pen() const
151     {
>>>     CID 1691413:         Incorrect expression  (NO_EFFECT)
>>>     Part "this->d" of statement "(this->d) , (&Marble::AbstractFloatItemPrivate::s_pen)" has no effect due to the comma.
152         return d->s_pen;
153     }
154     
155     void AbstractFloatItem::setPen(const QPen& pen)
156     {
157         d->s_pen = pen;

** CID 1691412:       Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/osm/OsmTagEditorWidget.cpp: 162           in Marble::OsmTagEditorWidget::handleItemChanged(QTreeWidgetItem *, int)()


_____________________________________________________________________________________________
*** CID 1691412:         Incorrect expression  (NO_EFFECT)
/home/gilles/devel/GIT/9.x/core/utilities/geolocation/engine/osm/OsmTagEditorWidget.cpp: 162             in Marble::OsmTagEditorWidget::handleItemChanged(QTreeWidgetItem *, int)()
156         QString key   = item->text(0);
157         QString value = item->text(1);
158     
159         // If any of the fields is still empty ( or the first field is "Add custom tag..."
160         // the editing is not yet finished.
161     
>>>     CID 1691412:         Incorrect expression  (NO_EFFECT)
>>>     Part "this->d" of statement "(this->d) , (&Marble::OsmTagEditorWidgetPrivate::m_customTagAdderText)" has no effect due to the comma.
162         if (key.isEmpty() || value.isEmpty() || (key == d->m_customTagAdderText))
163         {
164             return;
165         }
166     
167         d->m_placemark->osmData().addTag(key, value);

** CID 1691411:       Insecure data handling  (TAINTED_SCALAR)


_____________________________________________________________________________________________
*** CID 1691411:         Insecure data handling  (TAINTED_SCALAR)
/home/gilles/devel/GIT/9.x/core/libs/rawengine/libraw/src/write/apply_profile.cpp: 51             in LibRaw::apply_profile(const char *, const char *)()
45       if (!output)
46         hOutProfile = cmsCreate_sRGBProfile();
47       else if ((fp = fopen(output, "rb")))
48       {
49         fread(&size, 4, 1, fp);
50         fseek(fp, 0, SEEK_SET);
>>>     CID 1691411:         Insecure data handling  (TAINTED_SCALAR)
>>>     Passing tainted expression "__bswap_32(size)" to "calloc", which uses it as an allocation size.
51         oprof = (unsigned *)calloc(size = ntohl(size),1);
52         fread(oprof, 1, size, fp);
53         fclose(fp);
54         if (!(hOutProfile = cmsOpenProfileFromMem(oprof, size)))
55         {
56           free(oprof);

** CID 1691410:       Incorrect expression  (COPY_PASTE_ERROR)
/home/gilles/devel/GIT/9.x/core/utilities/advancedrename/advancedrenamewidget.cpp: 186           in Digikam::AdvancedRenameWidget::setControlWidgets(QFlags<Digikam::AdvancedRenameWidget::ControlWidget>)()


_____________________________________________________________________________________________
*** CID 1691410:         Incorrect expression  (COPY_PASTE_ERROR)
/home/gilles/devel/GIT/9.x/core/utilities/advancedrename/advancedrenamewidget.cpp: 186             in Digikam::AdvancedRenameWidget::setControlWidgets(QFlags<Digikam::AdvancedRenameWidget::ControlWidget>)()
180     
181         // layout specific
182     
183         if (d->layoutStyle == LayoutNormal)
184         {
185             d->optionsLabel->setVisible(enable && (mask & TokenButtons));
>>>     CID 1691410:         Incorrect expression  (COPY_PASTE_ERROR)
>>>     "enableModBtn" in "enableModBtn && QFlags<Digikam::AdvancedRenameWidget::ControlWidget>(mask & ModifierToolButton).operator QFlags<Digikam::AdvancedRenameWidget::ControlWidget>::Int()" looks like a copy-paste error.
186             d->modifiersToolButton->setVisible(enableModBtn && (mask & ModifierToolButton));
187         }
188         else
189         {
190             d->optionsButton->setVisible(enableModBtn && (mask & TokenButtons));
191             d->modifiersButton->setVisible(enableModBtn && (mask & ModifierToolButton));

** CID 1506554:         (USE_AFTER_MOVE)
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
/usr/include/c++/13/bits/stl_vector.h: 155           in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()


_____________________________________________________________________________________________
*** CID 1506554:           (USE_AFTER_MOVE)
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))
/usr/include/c++/13/bits/stl_vector.h: 155             in std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl::_Vector_impl(std::_Vector_base<Catch::<unnamed>::ColumnInfo, std::allocator<Catch::<unnamed>::ColumnInfo>>::_Vector_impl&&)()
149     
150     #if __cplusplus >= 201103L
151     	// Not defaulted, to enforce noexcept(true) even when
152     	// !is_nothrow_move_constructible<_Tp_alloc_type>.
153     	_GLIBCXX20_CONSTEXPR
154     	_Vector_impl(_Vector_impl&& __x) noexcept
>>>     CID 1506554:           (USE_AFTER_MOVE)
>>>     "__x" is used after it has been already moved.
155     	: _Tp_alloc_type(std::move(__x)), _Vector_impl_data(std::move(__x))
156     	{ }
157     
158     	_GLIBCXX20_CONSTEXPR
159     	_Vector_impl(_Tp_alloc_type&& __a) noexcept
160     	: _Tp_alloc_type(std::move(__a))


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/digikam?tab=overview

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20260410/3dbac085/attachment-0001.htm>


More information about the Digikam-devel mailing list