You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... only for RESOURCE_LEAK, UNINIT, and UNINIT_CTOR. Coverity is
inconsistent in this and the plain-text parser in csdiff needs to
follow it.
Resolves: https://issues.redhat.com/browse/OSH-552Closes: #165
Copy file name to clipboardExpand all lines: tests/csdiff/diff7.0-icu/00-add-z.err
-32
Original file line number
Diff line number
Diff line change
@@ -660,26 +660,6 @@ Error: RESOURCE_LEAK:
660
660
/builddir/build/BUILD/icu/source/i18n/decimfmt.cpp:3322: var_assign: Assigning: "fmt" = storage returned from "new icu_48::ChoiceFormat(struct icu_48::UnicodeString(s), ec)".
661
661
/builddir/build/BUILD/icu/source/i18n/decimfmt.cpp:3333: leaked_storage: Variable "fmt" going out of scope leaks the storage it points to.
662
662
663
-
Error: RESOURCE_LEAK:
664
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: alloc_fn: Calling allocation function "uprv_malloc_48".
665
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
666
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: return_alloc_fn: Directly returning storage allocated by "malloc".
667
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: var_assign: Assigning: "strbuffer" = storage returned from "uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))".
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3543: noescape: Variable "UCharOffset" is not freed or pointed-to in function "memcpy".
670
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: overwrite_var: Overwriting "strbuffer" in call "strbuffer = (UChar *)uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))" leaks the storage that "strbuffer" points to.
671
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3542: overwrite_var: Overwriting "UCharOffset" in call "UCharOffset = strbuffer + newsize" leaks the storage that "UCharOffset" points to.
672
-
673
-
Error: RESOURCE_LEAK:
674
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: alloc_fn: Calling allocation function "uprv_malloc_48".
675
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
676
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: return_alloc_fn: Directly returning storage allocated by "malloc".
677
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: var_assign: Assigning: "strbuffer" = storage returned from "uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))".
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3543: noescape: Variable "UCharOffset" is not freed or pointed-to in function "memcpy".
680
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: overwrite_var: Overwriting "strbuffer" in call "strbuffer = (UChar *)uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))" leaks the storage that "strbuffer" points to.
681
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3540: leaked_storage: Variable "UCharOffset" going out of scope leaks the storage it points to.
682
-
683
663
Error: RESOURCE_LEAK:
684
664
/builddir/build/BUILD/icu/source/i18n/ucurr.cpp:1864: alloc_fn: Calling allocation function "uprv_malloc_48".
685
665
/builddir/build/BUILD/icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
@@ -1216,22 +1196,10 @@ Error: UNINIT_CTOR:
1216
1196
/builddir/build/BUILD/icu/source/i18n/tznames_impl.cpp:365: member_decl: Class member declaration for fStrings.
1217
1197
/builddir/build/BUILD/icu/source/i18n/tznames_impl.cpp:372: uninit_member: Non-static class member fStrings is not initialized in this constructor nor in any functions that it calls.
1218
1198
1219
-
Error: UNINIT_CTOR:
1220
-
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.h:108: member_decl: Class member declaration for fChecks.
1221
-
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.cpp:62: uninit_member: Non-static class member fChecks is not initialized in this constructor nor in any functions that it calls.
1222
-
1223
1199
Error: UNINIT_CTOR:
1224
1200
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.h:108: member_decl: Class member declaration for fChecks.
1225
1201
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.cpp:32: uninit_member: Non-static class member fChecks is not initialized in this constructor nor in any functions that it calls.
1226
1202
1227
-
Error: UNINIT_CTOR:
1228
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.cpp:418: uninit_member: Non-static class member inStrings is not initialized in this constructor nor in any functions that it calls.
1229
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.cpp:418: uninit_member: Non-static class member isMissingItems is not initialized in this constructor nor in any functions that it calls.
1230
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.cpp:418: uninit_member: Non-static class member outStrings is not initialized in this constructor nor in any functions that it calls.
1231
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.h:156: member_decl: Class member declaration for inStrings.
1232
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.h:156: member_decl: Class member declaration for outStrings.
1233
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.h:167: member_decl: Class member declaration for isMissingItems.
1234
-
1235
1203
Error: UNINIT_CTOR:
1236
1204
/builddir/build/BUILD/icu/source/tools/toolutil/denseranges.cpp:28: uninit_member: Non-static class member gapLengths is not initialized in this constructor nor in any functions that it calls.
1237
1205
/builddir/build/BUILD/icu/source/tools/toolutil/denseranges.cpp:28: uninit_member: Non-static class member gapStarts is not initialized in this constructor nor in any functions that it calls.
Copy file name to clipboardExpand all lines: tests/csdiff/diff7.0-icu/00-add.err
-32
Original file line number
Diff line number
Diff line change
@@ -660,26 +660,6 @@ Error: RESOURCE_LEAK:
660
660
/builddir/build/BUILD/icu/source/i18n/decimfmt.cpp:3322: var_assign: Assigning: "fmt" = storage returned from "new icu_48::ChoiceFormat(struct icu_48::UnicodeString(s), ec)".
661
661
/builddir/build/BUILD/icu/source/i18n/decimfmt.cpp:3333: leaked_storage: Variable "fmt" going out of scope leaks the storage it points to.
662
662
663
-
Error: RESOURCE_LEAK:
664
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: alloc_fn: Calling allocation function "uprv_malloc_48".
665
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
666
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: return_alloc_fn: Directly returning storage allocated by "malloc".
667
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: var_assign: Assigning: "strbuffer" = storage returned from "uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))".
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3543: noescape: Variable "UCharOffset" is not freed or pointed-to in function "memcpy".
670
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: overwrite_var: Overwriting "strbuffer" in call "strbuffer = (UChar *)uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))" leaks the storage that "strbuffer" points to.
671
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3542: overwrite_var: Overwriting "UCharOffset" in call "UCharOffset = strbuffer + newsize" leaks the storage that "UCharOffset" points to.
672
-
673
-
Error: RESOURCE_LEAK:
674
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: alloc_fn: Calling allocation function "uprv_malloc_48".
675
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
676
-
/builddir/build/BUILD/icu/source/common/cmemory.c:45: return_alloc_fn: Directly returning storage allocated by "malloc".
677
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: var_assign: Assigning: "strbuffer" = storage returned from "uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))".
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3543: noescape: Variable "UCharOffset" is not freed or pointed-to in function "memcpy".
680
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3535: overwrite_var: Overwriting "strbuffer" in call "strbuffer = (UChar *)uprv_malloc_48(sizeof (UChar) /*2*/ * (newsize + 128))" leaks the storage that "strbuffer" points to.
681
-
/builddir/build/BUILD/icu/source/i18n/ucol.cpp:3540: leaked_storage: Variable "UCharOffset" going out of scope leaks the storage it points to.
682
-
683
663
Error: RESOURCE_LEAK:
684
664
/builddir/build/BUILD/icu/source/i18n/ucurr.cpp:1864: alloc_fn: Calling allocation function "uprv_malloc_48".
685
665
/builddir/build/BUILD/icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
@@ -1216,22 +1196,10 @@ Error: UNINIT_CTOR:
1216
1196
/builddir/build/BUILD/icu/source/i18n/tznames_impl.cpp:365: member_decl: Class member declaration for fStrings.
1217
1197
/builddir/build/BUILD/icu/source/i18n/tznames_impl.cpp:372: uninit_member: Non-static class member fStrings is not initialized in this constructor nor in any functions that it calls.
1218
1198
1219
-
Error: UNINIT_CTOR:
1220
-
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.h:108: member_decl: Class member declaration for fChecks.
1221
-
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.cpp:62: uninit_member: Non-static class member fChecks is not initialized in this constructor nor in any functions that it calls.
1222
-
1223
1199
Error: UNINIT_CTOR:
1224
1200
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.h:108: member_decl: Class member declaration for fChecks.
1225
1201
/builddir/build/BUILD/icu/source/i18n/uspoof_impl.cpp:32: uninit_member: Non-static class member fChecks is not initialized in this constructor nor in any functions that it calls.
1226
1202
1227
-
Error: UNINIT_CTOR:
1228
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.cpp:418: uninit_member: Non-static class member inStrings is not initialized in this constructor nor in any functions that it calls.
1229
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.cpp:418: uninit_member: Non-static class member isMissingItems is not initialized in this constructor nor in any functions that it calls.
1230
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.cpp:418: uninit_member: Non-static class member outStrings is not initialized in this constructor nor in any functions that it calls.
1231
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.h:156: member_decl: Class member declaration for inStrings.
1232
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.h:156: member_decl: Class member declaration for outStrings.
1233
-
/builddir/build/BUILD/icu/source/tools/toolutil/package.h:167: member_decl: Class member declaration for isMissingItems.
1234
-
1235
1203
Error: UNINIT_CTOR:
1236
1204
/builddir/build/BUILD/icu/source/tools/toolutil/denseranges.cpp:28: uninit_member: Non-static class member gapLengths is not initialized in this constructor nor in any functions that it calls.
1237
1205
/builddir/build/BUILD/icu/source/tools/toolutil/denseranges.cpp:28: uninit_member: Non-static class member gapStarts is not initialized in this constructor nor in any functions that it calls.
icu/source/i18n/ucol.cpp:3408: noescape: Variable "UCharOffset" is not freed or pointed-to in function "memcpy".
588
-
icu/source/i18n/ucol.cpp:3400: overwrite_var: Overwriting "strbuffer" in call "strbuffer = (UChar *)uprv_malloc_44(sizeof (UChar) /*2*/ * (newsize + 128))" leaks the storage that "strbuffer" points to.
589
-
icu/source/i18n/ucol.cpp:3407: overwrite_var: Overwriting "UCharOffset" in call "UCharOffset = strbuffer + newsize" leaks the storage that "UCharOffset" points to.
590
-
591
-
Error: RESOURCE_LEAK:
592
-
icu/source/i18n/ucol.cpp:3400: alloc_fn: Calling allocation function "uprv_malloc_44".
593
-
icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
594
-
icu/source/common/cmemory.c:45: return_alloc_fn: Directly returning storage allocated by "malloc".
595
-
icu/source/i18n/ucol.cpp:3400: var_assign: Assigning: "strbuffer" = storage returned from "uprv_malloc_44(sizeof (UChar) /*2*/ * (newsize + 128))".
icu/source/i18n/ucol.cpp:3408: noescape: Variable "UCharOffset" is not freed or pointed-to in function "memcpy".
598
-
icu/source/i18n/ucol.cpp:3400: overwrite_var: Overwriting "strbuffer" in call "strbuffer = (UChar *)uprv_malloc_44(sizeof (UChar) /*2*/ * (newsize + 128))" leaks the storage that "strbuffer" points to.
599
-
icu/source/i18n/ucol.cpp:3405: leaked_storage: Variable "UCharOffset" going out of scope leaks the storage it points to.
600
-
601
581
Error: RESOURCE_LEAK:
602
582
icu/source/i18n/ucol_elm.cpp:1249: alloc_fn: Calling allocation function "uprv_malloc_44".
603
583
icu/source/common/cmemory.c:45: alloc_fn: Storage is returned from allocation function "malloc".
@@ -762,12 +742,6 @@ icu/source/i18n/plurfmt.cpp:70: uninit_member: Non-static class member numberFor
762
742
icu/source/i18n/plurfmt.cpp:70: uninit_member: Non-static class member pluralRules is not initialized in this constructor nor in any functions that it calls.
763
743
icu/source/i18n/plurfmt.cpp:70: uninit_member: Non-static class member replacedNumberFormat is not initialized in this constructor nor in any functions that it calls.
764
744
765
-
Error: UNINIT_CTOR:
766
-
icu/source/i18n/uspoof_impl.h:111: member_decl: Class member declaration for fChecks.
767
-
icu/source/i18n/uspoof_impl.h:115: member_decl: Class member declaration for fCheckMask.
768
-
icu/source/i18n/uspoof_impl.cpp:62: uninit_member: Non-static class member fCheckMask is not initialized in this constructor nor in any functions that it calls.
769
-
icu/source/i18n/uspoof_impl.cpp:62: uninit_member: Non-static class member fChecks is not initialized in this constructor nor in any functions that it calls.
770
-
771
745
Error: UNINIT_CTOR:
772
746
icu/source/i18n/uspoof_impl.h:111: member_decl: Class member declaration for fChecks.
773
747
icu/source/i18n/uspoof_impl.h:115: member_decl: Class member declaration for fCheckMask.
@@ -837,20 +811,6 @@ icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class membe
837
811
icu/source/tools/toolutil/package.h:37: member_decl: Class member declaration for name.
838
812
icu/source/tools/toolutil/package.h:38: member_decl: Class member declaration for data.
839
813
840
-
Error: UNINIT_CTOR:
841
-
icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class member field items.isDataOwned is not initialized in this constructor nor in any functions that it calls.
842
-
icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class member field items.length is not initialized in this constructor nor in any functions that it calls.
843
-
icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class member field items.type is not initialized in this constructor nor in any functions that it calls.
844
-
icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class member inStrings is not initialized in this constructor nor in any functions that it calls.
845
-
icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class member isMissingItems is not initialized in this constructor nor in any functions that it calls.
846
-
icu/source/tools/toolutil/package.cpp:411: uninit_member: Non-static class member outStrings is not initialized in this constructor nor in any functions that it calls.
847
-
icu/source/tools/toolutil/package.h:39: member_decl: Class member declaration for length.
848
-
icu/source/tools/toolutil/package.h:40: member_decl: Class member declaration for isDataOwned.
849
-
icu/source/tools/toolutil/package.h:41: member_decl: Class member declaration for type.
850
-
icu/source/tools/toolutil/package.h:151: member_decl: Class member declaration for inStrings.
851
-
icu/source/tools/toolutil/package.h:151: member_decl: Class member declaration for outStrings.
852
-
icu/source/tools/toolutil/package.h:162: member_decl: Class member declaration for isMissingItems.
853
-
854
814
Error: UNUSED_VALUE:
855
815
icu/source/i18n/ucurr.cpp:1875: returned_pointer: Pointer "s" returned by "ures_getStringByKey_44(currencyRes, "id", &resLen, &localStatus)" is never used.
0 commit comments