poppler-25.02.0-1.fc43
List of Findings
Error: CPPCHECK_WARNING (CWE-227): [#def1]
poppler-25.02.0/glib/poppler-document.cc:2966: error[stlcstr]: Dangerous usage of c_str(). The value returned by c_str() is invalid after this call.
Error: CPPCHECK_WARNING (CWE-457): [#def2]
poppler-25.02.0/glib/poppler-page.cc:2529: error[uninitvar]: Uninitialized variable: prev_word_i
Error: CPPCHECK_WARNING (CWE-476): [#def3]
poppler-25.02.0/glib/tests/pdfdrawbb.c:28: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: outfile
Error: GCC_ANALYZER_WARNING (CWE-688): [#def4]
poppler-25.02.0/glib/tests/pdfdrawbb.c:28:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘outfile’ where non-null expected
poppler-25.02.0/glib/tests/pdfdrawbb.c:27:15: acquire_memory: this call could return NULL
poppler-25.02.0/glib/tests/pdfdrawbb.c:28:5: danger: argument 1 (‘outfile’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def5]
poppler-25.02.0/glib/tests/pdfdrawbb.c:31: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: outfile
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
poppler-25.02.0/glib/tests/pdfdrawbb.c:93:8: warning[-Wanalyzer-malloc-leak]: leak of ‘pdfaddsuffix(infilename, "bb")’
poppler-25.02.0/glib/tests/pdfdrawbb.c:45:5: enter_function: entry to ‘main’
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:8: branch_true: following ‘true’ branch (when ‘usage == 0’)...
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:19: branch_true: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:9: branch_false: following ‘false’ branch...
poppler-25.02.0/glib/tests/pdfdrawbb.c:84:22: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:85:8: branch_false: following ‘false’ branch (when ‘infilename’ is non-NULL)...
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: call_function: calling ‘pdfaddsuffix’ from ‘main’
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: return_function: returning to ‘main’ from ‘pdfaddsuffix’
poppler-25.02.0/glib/tests/pdfdrawbb.c:93:8: danger: ‘pdfaddsuffix(infilename, "bb")’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
poppler-25.02.0/glib/tests/pdfdrawbb.c:98:8: warning[-Wanalyzer-malloc-leak]: leak of ‘pdfaddsuffix(infilename, "bb")’
poppler-25.02.0/glib/tests/pdfdrawbb.c:45:5: enter_function: entry to ‘main’
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:8: branch_true: following ‘true’ branch (when ‘usage == 0’)...
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:19: branch_true: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:9: branch_false: following ‘false’ branch...
poppler-25.02.0/glib/tests/pdfdrawbb.c:84:22: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:85:8: branch_false: following ‘false’ branch (when ‘infilename’ is non-NULL)...
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: call_function: calling ‘pdfaddsuffix’ from ‘main’
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: return_function: returning to ‘main’ from ‘pdfaddsuffix’
poppler-25.02.0/glib/tests/pdfdrawbb.c:93:8: branch_false: following ‘false’ branch...
poppler-25.02.0/glib/tests/pdfdrawbb.c:97:11: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:98:8: danger: ‘pdfaddsuffix(infilename, "bb")’ leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
poppler-25.02.0/glib/tests/pdfdrawbb.c:107:8: warning[-Wanalyzer-malloc-leak]: leak of ‘pdfaddsuffix(infilename, "bb")’
poppler-25.02.0/glib/tests/pdfdrawbb.c:45:5: enter_function: entry to ‘main’
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:8: branch_true: following ‘true’ branch (when ‘usage == 0’)...
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:19: branch_true: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:73:9: branch_false: following ‘false’ branch...
poppler-25.02.0/glib/tests/pdfdrawbb.c:84:22: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:85:8: branch_false: following ‘false’ branch (when ‘infilename’ is non-NULL)...
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: call_function: calling ‘pdfaddsuffix’ from ‘main’
poppler-25.02.0/glib/tests/pdfdrawbb.c:88:19: return_function: returning to ‘main’ from ‘pdfaddsuffix’
poppler-25.02.0/glib/tests/pdfdrawbb.c:93:8: branch_false: following ‘false’ branch...
poppler-25.02.0/glib/tests/pdfdrawbb.c:97:11: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:98:8: branch_false: following ‘false’ branch...
poppler-25.02.0/glib/tests/pdfdrawbb.c:106:14: branch_false: ...to here
poppler-25.02.0/glib/tests/pdfdrawbb.c:107:8: danger: ‘pdfaddsuffix(infilename, "bb")’ leaks here; was allocated at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: CPPCHECK_WARNING (CWE-562): [#def9]
poppler-25.02.0/goo/gmem.h:192: error[returnDanglingLifetime]: Returning pointer to local variable 'r' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-562): [#def10]
poppler-25.02.0/goo/gmem.h:200: error[returnDanglingLifetime]: Returning pointer to local variable 'r' that will be invalid when returning.
Error: CPPCHECK_WARNING (CWE-476): [#def11]
poppler-25.02.0/goo/gstrtod.cc:105: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: c
Error: CPPCHECK_WARNING (CWE-476): [#def12]
poppler-25.02.0/goo/gstrtod.cc:114: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: copy
Error: CPPCHECK_WARNING (CWE-476): [#def13]
poppler-25.02.0/goo/gstrtod.cc:130: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: copy
Error: CPPCHECK_WARNING (CWE-682): [#def14]
poppler-25.02.0/goo/gstrtod.cc:131: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def15]
poppler-25.02.0/goo/gstrtod.cc:134: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: copy
Error: CPPCHECK_WARNING (CWE-562): [#def16]
poppler-25.02.0/poppler/CachedFile.cc:210: error[danglingLifetime]: Non-local variable 'chunks' will use pointer to local variable 'loadChunks'.
Error: CPPCHECK_WARNING (CWE-562): [#def17]
poppler-25.02.0/poppler/CachedFile.cc:212: error[danglingLifetime]: Non-local variable 'chunks' will use pointer to local variable 'loadChunks'.
Error: CPPCHECK_WARNING (CWE-457): [#def18]
poppler-25.02.0/poppler/CachedFile.cc:266: warning[uninitvar]: Uninitialized variable: chunk
Error: CPPCHECK_WARNING (CWE-457): [#def19]
poppler-25.02.0/poppler/CairoOutputDev.cc:3436: warning[uninitvar]: Uninitialized variable: pix
Error: CPPCHECK_WARNING (CWE-457): [#def20]
poppler-25.02.0/poppler/Decrypt.cc:269: warning[uninitvar]: Uninitialized variable: tmpKey
Error: CPPCHECK_WARNING (CWE-457): [#def21]
poppler-25.02.0/poppler/Decrypt.cc:1779: error[uninitvar]: Uninitialized variable: totalLength
Error: CPPCHECK_WARNING (CWE-664): [#def22]
poppler-25.02.0/poppler/Form.cc:1461: error[mismatchingContainers]: Iterators of different containers 'children[i]' and 'children[j]' are used together.
Error: COMPILER_WARNING: [#def23]
poppler-25.02.0/poppler/Form.cc:1858:43: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
/usr/include/c++/15/new: scope_hint: In function ‘createFieldFromDict’
/usr/include/c++/15/new:140:26: note: in a call to allocation function ‘operator new []’ declared here
Error: CPPCHECK_WARNING (CWE-457): [#def24]
poppler-25.02.0/poppler/Function.cc:398: warning[uninitvar]: Uninitialized variable: in
Error: CPPCHECK_WARNING (CWE-457): [#def25]
poppler-25.02.0/poppler/Gfx.cc:1483: warning[uninitvar]: Uninitialized variable: &color
Error: CPPCHECK_WARNING (CWE-457): [#def26]
poppler-25.02.0/poppler/Gfx.cc:1500: warning[uninitvar]: Uninitialized variable: &color
Error: CPPCHECK_WARNING (CWE-457): [#def27]
poppler-25.02.0/poppler/GfxState.cc:2676: warning[uninitvar]: Uninitialized variable: &color2
Error: CPPCHECK_WARNING (CWE-457): [#def28]
poppler-25.02.0/poppler/GfxState.cc:2698: warning[uninitvar]: Uninitialized variable: &color2
Error: CPPCHECK_WARNING (CWE-457): [#def29]
poppler-25.02.0/poppler/GfxState.cc:2969: warning[uninitvar]: Uninitialized variable: x
Error: CPPCHECK_WARNING (CWE-457): [#def30]
poppler-25.02.0/poppler/GfxState.cc:2973: warning[uninitvar]: Uninitialized variable: &color2
Error: CPPCHECK_WARNING (CWE-457): [#def31]
poppler-25.02.0/poppler/GfxState.cc:2985: warning[uninitvar]: Uninitialized variable: x
Error: CPPCHECK_WARNING (CWE-457): [#def32]
poppler-25.02.0/poppler/GfxState.cc:2989: warning[uninitvar]: Uninitialized variable: &color2
Error: CPPCHECK_WARNING (CWE-457): [#def33]
poppler-25.02.0/poppler/GfxState.cc:3001: warning[uninitvar]: Uninitialized variable: x
Error: CPPCHECK_WARNING (CWE-457): [#def34]
poppler-25.02.0/poppler/GfxState.cc:3005: warning[uninitvar]: Uninitialized variable: &color2
Error: CPPCHECK_WARNING (CWE-457): [#def35]
poppler-25.02.0/poppler/GfxState.cc:5741: warning[uninitvar]: Uninitialized variable: &color
Error: CPPCHECK_WARNING (CWE-457): [#def36]
poppler-25.02.0/poppler/GfxState.cc:5759: warning[uninitvar]: Uninitialized variable: &color
Error: CPPCHECK_WARNING (CWE-457): [#def37]
poppler-25.02.0/poppler/GfxState.cc:6080: warning[uninitvar]: Uninitialized variable: &color
Error: CPPCHECK_WARNING (CWE-457): [#def38]
poppler-25.02.0/poppler/GfxState.cc:6098: warning[uninitvar]: Uninitialized variable: &color
Error: CPPCHECK_WARNING (CWE-476): [#def39]
poppler-25.02.0/poppler/GfxState.h:1650: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: intent
Error: CPPCHECK_WARNING (CWE-457): [#def40]
poppler-25.02.0/poppler/Outline.cc:189: warning[uninitvar]: Uninitialized variables: nextRef.num, nextRef.gen
Error: CPPCHECK_WARNING (CWE-457): [#def41]
poppler-25.02.0/poppler/PSOutputDev.cc:1049: warning[uninitvar]: Uninitialized variable: x
Error: CPPCHECK_WARNING (CWE-476): [#def42]
poppler-25.02.0/poppler/PSOutputDev.cc:1567: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sanitizedTitle
Error: CPPCHECK_WARNING (CWE-562): [#def43]
poppler-25.02.0/poppler/UnicodeMap.cc:222: error[returnDanglingLifetime]: Returning pointer to local variable 'map' that will be invalid when returning.
Error: COMPILER_WARNING (CWE-477): [#def44]
poppler-25.02.0/qt5/src/poppler-annotation.cc: scope_hint: In constructor ‘Poppler::Annotation::Annotation(Poppler::AnnotationPrivate&, const QDomNode&)’
poppler-25.02.0/qt5/src/poppler-annotation.cc:1135:54: warning[-Wdeprecated-declarations]: ‘static QDomElement Poppler::AnnotationUtils::findChildElement(const QDomNode&, const QString&)’ is deprecated
poppler-25.02.0/qt5/src/poppler-annotation.cc:120:13: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def45]
poppler-25.02.0/qt5/src/poppler-annotation.cc:1275:62: warning[-Wdeprecated-declarations]: ‘static Poppler::Annotation* Poppler::AnnotationUtils::createAnnotation(const QDomElement&)’ is deprecated
poppler-25.02.0/qt5/src/poppler-annotation.cc:73:13: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def46]
poppler-25.02.0/qt5/src/poppler-annotation.cc: scope_hint: In member function ‘void Poppler::Annotation::storeBaseAnnotationProperties(QDomNode&, QDomDocument&) const’
poppler-25.02.0/qt5/src/poppler-annotation.cc:1407:41: warning[-Wdeprecated-declarations]: ‘static void Poppler::AnnotationUtils::storeAnnotation(const Poppler::Annotation*, QDomElement&, QDomDocument&)’ is deprecated
poppler-25.02.0/qt5/src/poppler-annotation.cc:111:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def47]
poppler-25.02.0/qt6/src/poppler-qiodeviceoutstream.cc: scope_hint: In function ‘int Poppler::poppler_vasprintf(char**, const char*, __va_list_tag*)’
poppler-25.02.0/qt6/src/poppler-qiodeviceoutstream.cc:62:22: warning[-Wdeprecated-declarations]: ‘int qvsnprintf(char*, size_t, const char*, __va_list_tag*)’ is deprecated: Use C++11 std::vsnprintf() instead, taking care to ensure that you didn't rely on QString::asprintf() idiosyncrasies that qvsnprintf might, but std::vsnprintf() does not, support.
/usr/include/qt6/QtCore/qbytearray.h:14: included_from: Included from here.
/usr/include/qt6/QtCore/qstringview.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qchar.h:728: included_from: Included from here.
/usr/include/qt6/QtCore/qstring.h:14: included_from: Included from here.
/usr/include/qt6/QtCore/qobject.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qiodevice.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/QIODevice:1: included_from: Included from here.
poppler-25.02.0/qt6/src/poppler-qiodeviceoutstream.cc:25: included_from: Included from here.
/usr/include/qt6/QtCore/qbytearrayalgorithms.h:150:19: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def48]
/usr/include/qt6/QtTest/qtest.h:13: included_from: Included from here.
/usr/include/qt6/QtTest/QTest:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/check_attachments.cpp:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/check_attachments.cpp: scope_hint: In member function ‘void TestAttachments::checkAttach2()’
poppler-25.02.0/qt6/tests/check_attachments.cpp:79:93: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qcborvalue.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qcborarray.h:7: included_from: Included from here.
/usr/include/qt6/QtTest/qtesttostring.h:17: included_from: Included from here.
/usr/include/qt6/QtTest/qtestcase.h:8: included_from: Included from here.
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def49]
poppler-25.02.0/qt6/tests/check_attachments.cpp:80:90: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def50]
poppler-25.02.0/qt6/tests/check_attachments.cpp:86:93: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def51]
poppler-25.02.0/qt6/tests/check_attachments.cpp:87:90: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def52]
poppler-25.02.0/qt6/tests/check_attachments.cpp:93:94: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def53]
poppler-25.02.0/qt6/tests/check_attachments.cpp:94:91: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def54]
poppler-25.02.0/qt6/tests/check_attachments.cpp: scope_hint: In member function ‘void TestAttachments::checkAttach3()’
poppler-25.02.0/qt6/tests/check_attachments.cpp:112:93: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def55]
poppler-25.02.0/qt6/tests/check_attachments.cpp:113:90: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def56]
poppler-25.02.0/qt6/tests/check_attachments.cpp: scope_hint: In member function ‘void TestAttachments::checkAttach4()’
poppler-25.02.0/qt6/tests/check_attachments.cpp:131:93: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def57]
poppler-25.02.0/qt6/tests/check_attachments.cpp:132:90: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def58]
/usr/include/qt6/QtTest/qtest.h:13: included_from: Included from here.
/usr/include/qt6/QtTest/QTest:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/check_dateConversion.cpp:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/check_dateConversion.cpp: scope_hint: In member function ‘void TestDateConv::checkDates()’
poppler-25.02.0/qt6/tests/check_dateConversion.cpp:72:83: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qcborvalue.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qcborarray.h:7: included_from: Included from here.
/usr/include/qt6/QtTest/qtesttostring.h:17: included_from: Included from here.
/usr/include/qt6/QtTest/qtestcase.h:8: included_from: Included from here.
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def59]
/usr/include/qt6/QtTest/qtest.h:13: included_from: Included from here.
/usr/include/qt6/QtTest/QTest:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/check_metadata.cpp:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/check_metadata.cpp: scope_hint: In member function ‘void TestMetaData::checkDate()’
poppler-25.02.0/qt6/tests/check_metadata.cpp:139:107: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qcborvalue.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qcborarray.h:7: included_from: Included from here.
/usr/include/qt6/QtTest/qtesttostring.h:17: included_from: Included from here.
/usr/include/qt6/QtTest/qtestcase.h:8: included_from: Included from here.
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def60]
poppler-25.02.0/qt6/tests/check_metadata.cpp:140:112: warning[-Wdeprecated-declarations]: ‘QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead
/usr/include/qt6/QtCore/qdatetime.h:362:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def61]
poppler-25.02.0/qt6/tests/poppler-forms.cpp: scope_hint: In function ‘int main(int, char**)’
poppler-25.02.0/qt6/tests/poppler-forms.cpp:267:76: warning[-Wdeprecated-declarations]: ‘static QDateTime QDateTime::fromSecsSinceEpoch(qint64, Qt::TimeSpec, int)’ is deprecated: Pass QTimeZone instead of time-spec, offset
/usr/include/qt6/QtCore/QDateTime:1: included_from: Included from here.
poppler-25.02.0/qt6/tests/poppler-forms.cpp:2: included_from: Included from here.
/usr/include/qt6/QtCore/qdatetime.h:491:22: note: declared here
Error: COMPILER_WARNING (CWE-457): [#def62]
poppler-25.02.0/splash/SplashBitmap.cc: scope_hint: In member function ‘SplashBitmap::SplashBitmap(int, int, int, SplashColorMode, bool, bool, std::vector<std::unique_ptr<GfxSeparationColorSpace, std::default_delete<GfxSeparationColorSpace> >, std::allocator<std::unique_ptr<GfxSeparationColorSpace, std::default_delete<GfxSeparationColorSpace> > > > const*)’
poppler-25.02.0/splash/SplashBitmap.cc:107:9: warning[-Wmaybe-uninitialized]: ‘*this_39(D).rowSize’ may be used uninitialized
Error: CPPCHECK_WARNING (CWE-476): [#def63]
poppler-25.02.0/utils/pdfseparate.cc:79: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: auxDestFileName
Error: CPPCHECK_WARNING (CWE-415): [#def64]
poppler-25.02.0/utils/pdftotext.cc:350: error[doubleFree]: Resource handle 'f' freed twice.
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-114.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | poppler-25.02.0-1.fc43 |
store-results-to | /tmp/tmpmqo084ab/poppler-25.02.0-1.fc43.tar.xz |
time-created | 2025-04-25 15:10:01 |
time-finished | 2025-04-25 15:17:22 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpmqo084ab/poppler-25.02.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpmqo084ab/poppler-25.02.0-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |