Task #131110 - fixed.err
back to task #131110download
Error: SHELLCHECK_WARNING (CWE-252):
/usr/libexec/ibus-desktop-testing-module:513:17: warning[SC2164]: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails.
# 511| if test ! -f "$SYSTEMD_USER_DIR/$SHELL_SERVICE_FILE" ; then
# 512| mkdir -p "$SYSTEMD_USER_DIR"
# 513|-> pushd "$SYSTEMD_USER_DIR"
# 514| sed -e "s|^ExecStart=.*|ExecStart=$GNOME_SHELL_WAYLAND_COMMAND|" \
# 515| $SYSTEMD_SYSTEM_DIR/$SHELL_SERVICE_FILE \
Error: SHELLCHECK_WARNING:
/usr/libexec/ibus-desktop-testing-module:513:17: warning[SC3044]: In POSIX sh, 'pushd' is undefined.
# 511| if test ! -f "$SYSTEMD_USER_DIR/$SHELL_SERVICE_FILE" ; then
# 512| mkdir -p "$SYSTEMD_USER_DIR"
# 513|-> pushd "$SYSTEMD_USER_DIR"
# 514| sed -e "s|^ExecStart=.*|ExecStart=$GNOME_SHELL_WAYLAND_COMMAND|" \
# 515| $SYSTEMD_SYSTEM_DIR/$SHELL_SERVICE_FILE \
Error: SHELLCHECK_WARNING (CWE-252):
/usr/libexec/ibus-desktop-testing-module:518:17: warning[SC2164]: Use 'popd ... || exit' or 'popd ... || return' in case popd fails.
# 516| > $SHELL_SERVICE_FILE
# 517| diff $SYSTEMD_SYSTEM_DIR/$SHELL_SERVICE_FILE $SHELL_SERVICE_FILE
# 518|-> popd
# 519| fi
# 520| mkdir -p "$ENV_USER_DIR"
Error: SHELLCHECK_WARNING:
/usr/libexec/ibus-desktop-testing-module:518:17: warning[SC3044]: In POSIX sh, 'popd' is undefined.
# 516| > $SHELL_SERVICE_FILE
# 517| diff $SYSTEMD_SYSTEM_DIR/$SHELL_SERVICE_FILE $SHELL_SERVICE_FILE
# 518|-> popd
# 519| fi
# 520| mkdir -p "$ENV_USER_DIR"
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/candidatearea.c:1646:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 1644| {
# 1645| static volatile gsize candidate_area_type_id__once = 0;
# 1646|-> if (g_once_init_enter (&candidate_area_type_id__once)) {
# 1647| GType candidate_area_type_id;
# 1648| candidate_area_type_id = candidate_area_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:1026:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 1024| {
# 1025| static volatile gsize ibus_emojier_travel_direction_type_id__once = 0;
# 1026|-> if (g_once_init_enter (&ibus_emojier_travel_direction_type_id__once)) {
# 1027| GType ibus_emojier_travel_direction_type_id;
# 1028| ibus_emojier_travel_direction_type_id = ibus_emojier_travel_direction_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c: scope_hint: In function 'ibus_emojier_update_category_to_emojis_dict'
ibus-1.5.34-rc1/bindings/vala/emojier.c:2300:47: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 2300 | ch_collection = IBUS_EMOJIER_EMOJI_VARIANT_LIST;
# | ^
# 2298| gint _ch_collection_size_ = 0;
# 2299| gint ch_it = 0;
# 2300|-> ch_collection = IBUS_EMOJIER_EMOJI_VARIANT_LIST;
# 2301| ch_collection_length1 = G_N_ELEMENTS (IBUS_EMOJIER_EMOJI_VARIANT_LIST);
# 2302| for (ch_it = 0; ch_it < ch_collection_length1; ch_it = ch_it + 1) {
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:2300:47: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 2298| gint _ch_collection_size_ = 0;
# 2299| gint ch_it = 0;
# 2300|-> ch_collection = IBUS_EMOJIER_EMOJI_VARIANT_LIST;
# 2301| ch_collection_length1 = G_N_ELEMENTS (IBUS_EMOJIER_EMOJI_VARIANT_LIST);
# 2302| for (ch_it = 0; ch_it < ch_collection_length1; ch_it = ch_it + 1) {
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:8842:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 8840| {
# 8841| static volatile gsize ibus_emojier_elist_box_type_id__once = 0;
# 8842|-> if (g_once_init_enter (&ibus_emojier_elist_box_type_id__once)) {
# 8843| GType ibus_emojier_elist_box_type_id;
# 8844| ibus_emojier_elist_box_type_id = ibus_emojier_elist_box_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c: scope_hint: In function 'ibus_emojier_ebox_row_set_text'
ibus-1.5.34-rc1/bindings/vala/emojier.c:8890:19: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 8890 | old_value = ibus_emojier_ebox_row_get_text (self);
# | ^
# 8888| gchar* old_value;
# 8889| g_return_if_fail (self != NULL);
# 8890|-> old_value = ibus_emojier_ebox_row_get_text (self);
# 8891| if (g_strcmp0 (value, old_value) != 0) {
# 8892| gchar* _tmp0_;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:8890:19: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 8888| gchar* old_value;
# 8889| g_return_if_fail (self != NULL);
# 8890|-> old_value = ibus_emojier_ebox_row_get_text (self);
# 8891| if (g_strcmp0 (value, old_value) != 0) {
# 8892| gchar* _tmp0_;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:8942:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 8940| {
# 8941| static volatile gsize ibus_emojier_ebox_row_type_id__once = 0;
# 8942|-> if (g_once_init_enter (&ibus_emojier_ebox_row_type_id__once)) {
# 8943| GType ibus_emojier_ebox_row_type_id;
# 8944| ibus_emojier_ebox_row_type_id = ibus_emojier_ebox_row_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9035:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9033| {
# 9034| static volatile gsize ibus_emojier_escrolled_window_type_id__once = 0;
# 9035|-> if (g_once_init_enter (&ibus_emojier_escrolled_window_type_id__once)) {
# 9036| GType ibus_emojier_escrolled_window_type_id;
# 9037| ibus_emojier_escrolled_window_type_id = ibus_emojier_escrolled_window_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9083:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9081| {
# 9082| static volatile gsize ibus_emojier_egrid_type_id__once = 0;
# 9083|-> if (g_once_init_enter (&ibus_emojier_egrid_type_id__once)) {
# 9084| GType ibus_emojier_egrid_type_id;
# 9085| ibus_emojier_egrid_type_id = ibus_emojier_egrid_get_type_once ();
Error: GCC_ANALYZER_WARNING (CWE-688):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9157:18: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ibus-1.5.34-rc1/bindings/vala/emojier.c:9115:1: enter_function: entry to 'ibus_emojier_ewhite_label_real_get_preferred_width'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9155:14: call_function: calling 'string_get_char' from 'ibus_emojier_ewhite_label_real_get_preferred_width'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9155:14: return_function: returning to 'ibus_emojier_ewhite_label_real_get_preferred_width' from 'string_get_char'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9157:18: danger: argument 1 ('<unknown>') NULL where non-null expected
# 9155| ch = string_get_char (_tmp5_, (glong) 0);
# 9156| _tmp7_ = text;
# 9157|-> _tmp8_ = strlen (_tmp7_);
# 9158| _tmp9_ = _tmp8_;
# 9159| if (_tmp9_ == 1) {
Error: GCC_ANALYZER_WARNING (CWE-688):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9269:18: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ibus-1.5.34-rc1/bindings/vala/emojier.c:9227:1: enter_function: entry to 'ibus_emojier_ewhite_label_real_get_preferred_height'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9267:14: call_function: calling 'string_get_char' from 'ibus_emojier_ewhite_label_real_get_preferred_height'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9267:14: return_function: returning to 'ibus_emojier_ewhite_label_real_get_preferred_height' from 'string_get_char'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9269:18: danger: argument 1 ('<unknown>') NULL where non-null expected
# 9267| ch = string_get_char (_tmp5_, (glong) 0);
# 9268| _tmp7_ = text;
# 9269|-> _tmp8_ = strlen (_tmp7_);
# 9270| _tmp9_ = _tmp8_;
# 9271| if (_tmp9_ == 1) {
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9376:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9374| {
# 9375| static volatile gsize ibus_emojier_ewhite_label_type_id__once = 0;
# 9376|-> if (g_once_init_enter (&ibus_emojier_ewhite_label_type_id__once)) {
# 9377| GType ibus_emojier_ewhite_label_type_id;
# 9378| ibus_emojier_ewhite_label_type_id = ibus_emojier_ewhite_label_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9429:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9427| {
# 9428| static volatile gsize ibus_emojier_eselected_label_type_id__once = 0;
# 9429|-> if (g_once_init_enter (&ibus_emojier_eselected_label_type_id__once)) {
# 9430| GType ibus_emojier_eselected_label_type_id;
# 9431| ibus_emojier_eselected_label_type_id = ibus_emojier_eselected_label_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9482:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9480| {
# 9481| static volatile gsize ibus_emojier_egold_label_type_id__once = 0;
# 9482|-> if (g_once_init_enter (&ibus_emojier_egold_label_type_id__once)) {
# 9483| GType ibus_emojier_egold_label_type_id;
# 9484| ibus_emojier_egold_label_type_id = ibus_emojier_egold_label_get_type_once ();
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9742:25: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9638:1: enter_function: entry to 'ibus_emojier_echeck_visible_label_is_glyph_visible'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9662:9: branch_true: following 'true' branch (when 'self' is non-NULL)...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9663:9: branch_true: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9663:9: branch_true: following 'true' branch (when 'emoji' is non-NULL)...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9664:18: branch_true: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9664:18: call_function: calling 'string_replace' from 'ibus_emojier_echeck_visible_label_is_glyph_visible'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9664:18: return_function: returning to 'ibus_emojier_echeck_visible_label_is_glyph_visible' from 'string_replace'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9671:12: branch_false: following 'false' branch...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9676:18: branch_false: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9683:12: branch_false: following 'false' branch...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9689:9: branch_false: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9693:12: branch_false: following 'false' branch (when '<unknown> > 0')...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9700:12: branch_false: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9700:12: branch_false: following 'false' branch (when '<unknown> > 0')...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9706:13: branch_false: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9706:12: branch_true: following 'true' branch...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9713:17: branch_true: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9716:20: branch_true: following 'true' branch (when '_tmp18_' is non-NULL)...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9719:35: branch_true: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9723:20: branch_true: following 'true' branch...
ibus-1.5.34-rc1/bindings/vala/emojier.c:9738:25: branch_true: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9739:35: call_function: inlined call to '__vala_PangoGlyphItem_copy0' from 'ibus_emojier_echeck_visible_label_is_glyph_visible'
ibus-1.5.34-rc1/bindings/vala/emojier.c:9742:25: branch_false: ...to here
ibus-1.5.34-rc1/bindings/vala/emojier.c:9742:25: danger: dereference of NULL '<unknown>'
# 9740| run = _tmp24_;
# 9741| _tmp25_ = run;
# 9742|-> _tmp26_ = _tmp25_->item;
# 9743| _tmp27_ = _tmp26_->analysis;
# 9744| _tmp28_ = _tmp27_.font;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9809:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9807| {
# 9808| static volatile gsize ibus_emojier_echeck_visible_label_type_id__once = 0;
# 9809|-> if (g_once_init_enter (&ibus_emojier_echeck_visible_label_type_id__once)) {
# 9810| GType ibus_emojier_echeck_visible_label_type_id;
# 9811| ibus_emojier_echeck_visible_label_type_id = ibus_emojier_echeck_visible_label_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9862:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9860| {
# 9861| static volatile gsize ibus_emojier_epadded_label_type_id__once = 0;
# 9862|-> if (g_once_init_enter (&ibus_emojier_epadded_label_type_id__once)) {
# 9863| GType ibus_emojier_epadded_label_type_id;
# 9864| ibus_emojier_epadded_label_type_id = ibus_emojier_epadded_label_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:9958:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 9956| {
# 9957| static volatile gsize ibus_emojier_epadded_label_box_type_id__once = 0;
# 9958|-> if (g_once_init_enter (&ibus_emojier_epadded_label_box_type_id__once)) {
# 9959| GType ibus_emojier_epadded_label_box_type_id;
# 9960| ibus_emojier_epadded_label_box_type_id = ibus_emojier_epadded_label_box_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:10033:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
#10031| {
#10032| static volatile gsize ibus_emojier_load_progress_object_type_id__once = 0;
#10033|-> if (g_once_init_enter (&ibus_emojier_load_progress_object_type_id__once)) {
#10034| GType ibus_emojier_load_progress_object_type_id;
#10035| ibus_emojier_load_progress_object_type_id = ibus_emojier_load_progress_object_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/emojier.c:10121:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
#10119| {
#10120| static volatile gsize ibus_emojier_type_id__once = 0;
#10121|-> if (g_once_init_enter (&ibus_emojier_type_id__once)) {
#10122| GType ibus_emojier_type_id;
#10123| ibus_emojier_type_id = ibus_emojier_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/iconwidget.c:638:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 636| {
# 637| static volatile gsize themed_rgba_type_id__once = 0;
# 638|-> if (g_once_init_enter (&themed_rgba_type_id__once)) {
# 639| GType themed_rgba_type_id;
# 640| themed_rgba_type_id = themed_rgba_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/iconwidget.c:868:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 866| {
# 867| static volatile gsize icon_widget_type_id__once = 0;
# 868|-> if (g_once_init_enter (&icon_widget_type_id__once)) {
# 869| GType icon_widget_type_id;
# 870| icon_widget_type_id = icon_widget_get_type_once ();
Error: COMPILER_WARNING:
ibus-1.5.34-rc1/bindings/vala/pango.c: scope_hint: In function 'get_pango_attr_list_from_ibus_text'
ibus-1.5.34-rc1/bindings/vala/pango.c:186:33: warning[-Warray-bounds=]: array subscript -1 is outside array bounds of 'void[<unknown>]'
# 186 | _tmp20_ = _tmp19_[-1];
# | ~~~~~~~~^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/glist.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/ghash.h:36: included_from: Included from here.
/usr/include/glib-2.0/glib.h:52: included_from: Included from here.
ibus-1.5.34-rc1/src/ibusversion.h:71: included_from: Included from here.
ibus-1.5.34-rc1/src/ibus.h:29: included_from: Included from here.
ibus-1.5.34-rc1/bindings/vala/pango.c:26: included_from: Included from here.
/usr/include/glib-2.0/glib/gmem.h:273:18: note: at offset -8 into object of size [0, 9223372036854775807] allocated by 'g_malloc0_n'
# 273 | _p = g_##func##_n (_n, _s); \
# | ^~~~~~~~~~~~~~~~~~~~~
# 184| _tmp19_ = offsets;
# 185| _tmp19__length1 = offsets_length1;
# 186|-> _tmp20_ = _tmp19_[-1];
# 187| _tmp16_ = _tmp20_;
# 188| }
Error: COMPILER_WARNING:
ibus-1.5.34-rc1/bindings/vala/pango.c:209:33: warning[-Warray-bounds=]: array subscript -1 is outside array bounds of 'void[<unknown>]'
# 209 | _tmp26_ = _tmp25_[-1];
# | ~~~~~~~~^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmem.h:273:18: note: at offset -8 into object of size [0, 9223372036854775807] allocated by 'g_malloc0_n'
# 273 | _p = g_##func##_n (_n, _s); \
# | ^~~~~~~~~~~~~~~~~~~~~
# 207| _tmp25_ = offsets;
# 208| _tmp25__length1 = offsets_length1;
# 209|-> _tmp26_ = _tmp25_[-1];
# 210| _tmp22_ = _tmp26_;
# 211| }
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/separator.c:151:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 149| {
# 150| static volatile gsize hseparator_type_id__once = 0;
# 151|-> if (g_once_init_enter (&hseparator_type_id__once)) {
# 152| GType hseparator_type_id;
# 153| hseparator_type_id = hseparator_get_type_once ();
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/bindings/vala/separator.c:199:13: warning[-Wdiscarded-qualifiers]: argument 2 of '__atomic_load' discards 'volatile' qualifier
# 197| {
# 198| static volatile gsize vseparator_type_id__once = 0;
# 199|-> if (g_once_init_enter (&vseparator_type_id__once)) {
# 200| GType vseparator_type_id;
# 201| vseparator_type_id = vseparator_get_type_once ();
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/bus/dbusimpl.c:450:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘owner’
ibus-1.5.34-rc1/bus/dbusimpl.c:1744:1: enter_function: entry to ‘bus_dbus_impl_connection_destroy_cb’
ibus-1.5.34-rc1/bus/dbusimpl.c:1786:12: branch_true: following ‘true’ branch (when ‘names’ is non-NULL)...
ibus-1.5.34-rc1/bus/dbusimpl.c:1787:22: branch_true: ...to here
ibus-1.5.34-rc1/bus/dbusimpl.c:1791:37: call_function: calling ‘bus_name_service_find_owner’ from ‘bus_dbus_impl_connection_destroy_cb’
ibus-1.5.34-rc1/bus/dbusimpl.c:1791:37: return_function: returning to ‘bus_dbus_impl_connection_destroy_cb’ from ‘bus_name_service_find_owner’
ibus-1.5.34-rc1/bus/dbusimpl.c:1794:9: call_function: calling ‘bus_name_service_remove_owner’ from ‘bus_dbus_impl_connection_destroy_cb’
# 448|
# 449|
# 450|-> owners = bus_name_service_find_owner_link (service, owner->conn);
# 451| g_assert (owners != NULL);
# 452|
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/bus/dbusimpl.c:453:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘owners’
# 451| g_assert (owners != NULL);
# 452|
# 453|-> if (owners->data == bus_name_service_get_primary_owner (service)) {
# 454| BusConnectionOwner *_new = NULL;
# 455| if (owners->next != NULL) {
Error: COMPILER_WARNING (CWE-563):
ibus-1.5.34-rc1/client/gtk2/ibusimcontext.c: scope_hint: In function '_set_cursor_location_internal'
ibus-1.5.34-rc1/client/gtk2/ibusimcontext.c:1683:17: warning[-Wunused-variable]: unused variable 'display'
# 1683 | GdkDisplay *display = NULL;
# | ^~~~~~~
# 1681| {
# 1682| GdkRectangle area;
# 1683|-> GdkDisplay *display = NULL;
# 1684| #if GTK_CHECK_VERSION (3, 98, 4)
# 1685| GtkWidget *root;
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c: scope_hint: In function 'ibus_im_context_set_client_widget'
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1636:9: warning[-Wdeprecated-declarations]: 'gtk_widget_get_style_context' is deprecated
# 1636 | style_context = gtk_widget_get_style_context (ibusimcontext->text_view);
# | ^~~~~~~~~~~~~
/usr/include/gtk-4.0/gtk/gtkapplication.h:26: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtkwindow.h:32: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtkaboutdialog.h:29: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtk.h:34: included_from: Included from here.
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:29: included_from: Included from here.
/usr/include/gtk-4.0/gtk/gtkwidget.h:713:19: note: declared here
# 713 | GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1634| ibusimcontext->text_view = g_object_ref_sink (gtk_text_view_new ());
# 1635| #if GTK_CHECK_VERSION (2, 91, 0)
# 1636|-> style_context = gtk_widget_get_style_context (ibusimcontext->text_view);
# 1637| #else
# 1638| style_context = gtk_widget_get_style (ibusimcontext->text_view);
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1636:9: warning[-Wdeprecated-declarations]: 'gtk_widget_get_style_context' is deprecated
# 1634| ibusimcontext->text_view = g_object_ref_sink (gtk_text_view_new ());
# 1635| #if GTK_CHECK_VERSION (2, 91, 0)
# 1636|-> style_context = gtk_widget_get_style_context (ibusimcontext->text_view);
# 1637| #else
# 1638| style_context = gtk_widget_get_style (ibusimcontext->text_view);
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c: scope_hint: In function '_set_cursor_location_internal'
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1723:9: warning[-Wdeprecated-declarations]: 'gdk_x11_display_get_xdisplay' is deprecated
# 1723 | XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# | ^~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gdk/x11/gdkx.h:39: included_from: Included from here.
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:47: included_from: Included from here.
/usr/include/gtk-4.0/gdk/x11/gdkx11display.h:60:15: note: declared here
# 60 | Display * gdk_x11_display_get_xdisplay (GdkDisplay *display);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1721| (ibusimcontext->client_window);
# 1722|
# 1723|-> XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# 1724| GDK_SURFACE_XID (surface),
# 1725| gdk_x11_display_get_xrootwindow (display),
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1723:9: warning[-Wdeprecated-declarations]: 'gdk_x11_display_get_xdisplay' is deprecated
# 1721| (ibusimcontext->client_window);
# 1722|
# 1723|-> XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# 1724| GDK_SURFACE_XID (surface),
# 1725| gdk_x11_display_get_xrootwindow (display),
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1724:32: warning[-Wdeprecated-declarations]: 'gdk_x11_surface_get_xid' is deprecated
# 1724 | GDK_SURFACE_XID (surface),
# | ^~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gdk/x11/gdkx.h:47: included_from: Included from here.
/usr/include/gtk-4.0/gdk/x11/gdkx11surface.h:56:10: note: declared here
# 56 | Window gdk_x11_surface_get_xid (GdkSurface *surface);
# | ^~~~~~~~~~~~~~~~~~~~~~~
# 1722|
# 1723| XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# 1724|-> GDK_SURFACE_XID (surface),
# 1725| gdk_x11_display_get_xrootwindow (display),
# 1726| 0, 0, &tx, &ty,
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1724:32: warning[-Wdeprecated-declarations]: 'gdk_x11_surface_get_xid' is deprecated
# 1722|
# 1723| XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# 1724|-> GDK_SURFACE_XID (surface),
# 1725| gdk_x11_display_get_xrootwindow (display),
# 1726| 0, 0, &tx, &ty,
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1725:32: warning[-Wdeprecated-declarations]: 'gdk_x11_display_get_xrootwindow' is deprecated
# 1725 | gdk_x11_display_get_xrootwindow (display),
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-4.0/gdk/x11/gdkx11display.h:64:15: note: declared here
# 64 | Window gdk_x11_display_get_xrootwindow (GdkDisplay *display);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 1723| XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# 1724| GDK_SURFACE_XID (surface),
# 1725|-> gdk_x11_display_get_xrootwindow (display),
# 1726| 0, 0, &tx, &ty,
# 1727| &child);
Error: COMPILER_WARNING (CWE-477):
ibus-1.5.34-rc1/client/gtk4/ibusimcontext.c:1725:32: warning[-Wdeprecated-declarations]: 'gdk_x11_display_get_xrootwindow' is deprecated
# 1723| XTranslateCoordinates (GDK_DISPLAY_XDISPLAY (display),
# 1724| GDK_SURFACE_XID (surface),
# 1725|-> gdk_x11_display_get_xrootwindow (display),
# 1726| 0, 0, &tx, &ty,
# 1727| &child);
Error: COMPILER_WARNING (CWE-1164):
ibus-1.5.34-rc1/client/wayland/ibuswaylandim.c:2630:1: warning[-Wunused-function]: 'ibus_wayland_im_open_log' defined but not used
# 2630 | ibus_wayland_im_open_log (IBusWaylandIM *wlim)
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 2628|
# 2629| static gboolean
# 2630|-> ibus_wayland_im_open_log (IBusWaylandIM *wlim)
# 2631| {
# 2632| IBusWaylandIMPrivate *priv;
Error: COMPILER_WARNING (CWE-1164):
ibus-1.5.34-rc1/client/wayland/ibuswaylandim.c:2630:1: warning[-Wunused-function]: ‘ibus_wayland_im_open_log’ defined but not used
# 2630 | ibus_wayland_im_open_log (IBusWaylandIM *wlim)
# | ^~~~~~~~~~~~~~~~~~~~~~~~
# 2628|
# 2629| static gboolean
# 2630|-> ibus_wayland_im_open_log (IBusWaylandIM *wlim)
# 2631| {
# 2632| IBusWaylandIMPrivate *priv;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c: scope_hint: In function 'parse_compose_value'
ibus-1.5.34-rc1/src/ibuscomposetable.c:110:16: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 110 | if (!(head = strchr (val, '\"'))) {
# | ^
# 108| int n_uchars = 0;
# 109|
# 110|-> if (!(head = strchr (val, '\"'))) {
# 111| g_warning ("Need to double-quote the value: %s: %s", val, line);
# 112| goto fail;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c:110:16: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 108| int n_uchars = 0;
# 109|
# 110|-> if (!(head = strchr (val, '\"'))) {
# 111| g_warning ("Need to double-quote the value: %s: %s", val, line);
# 112| goto fail;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c: scope_hint: In function ‘parse_compose_value’
ibus-1.5.34-rc1/src/ibuscomposetable.c:110:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 110 | if (!(head = strchr (val, '\"'))) {
# | ^
# 108| int n_uchars = 0;
# 109|
# 110|-> if (!(head = strchr (val, '\"'))) {
# 111| g_warning ("Need to double-quote the value: %s: %s", val, line);
# 112| goto fail;
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c:110:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 108| int n_uchars = 0;
# 109|
# 110|-> if (!(head = strchr (val, '\"'))) {
# 111| g_warning ("Need to double-quote the value: %s: %s", val, line);
# 112| goto fail;
Error: COMPILER_WARNING:
ibus-1.5.34-rc1/src/ibuscomposetable.c: scope_hint: In function 'ibus_compose_table_list_add_array'
ibus-1.5.34-rc1/src/ibuscomposetable.c:1798:25: warning[-Walloc-size-larger-than=]: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807
# 1798 | ibus_compose_seqs = g_new0 (guint16, length);
# | ^
/usr/include/glib-2.0/glib/gmem.h:102:10: note: in a call to allocation function 'g_malloc0_n' declared here
# 102 | gpointer g_malloc0_n (gsize n_blocks,
# | ^
# 1796| }
# 1797|
# 1798|-> ibus_compose_seqs = g_new0 (guint16, length);
# 1799| for (i = 0; i < length; i++)
# 1800| ibus_compose_seqs[i] = data[i];
Error: COMPILER_WARNING:
ibus-1.5.34-rc1/src/ibuscomposetable.c:1798:25: warning[-Walloc-size-larger-than=]: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807
# 1796| }
# 1797|
# 1798|-> ibus_compose_seqs = g_new0 (guint16, length);
# 1799| for (i = 0; i < length; i++)
# 1800| ibus_compose_seqs[i] = data[i];
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c: scope_hint: In function 'ibus_compose_table_check'
ibus-1.5.34-rc1/src/ibuscomposetable.c:1999:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 1999 | seq = bsearch (compose_buffer,
# | ^
# 1997| n_seqs = table->n_seqs;
# 1998| }
# 1999|-> seq = bsearch (compose_buffer,
# 2000| data_first, n_seqs,
# 2001| sizeof (guint16) * row_stride,
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c:1999:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 1997| n_seqs = table->n_seqs;
# 1998| }
# 1999|-> seq = bsearch (compose_buffer,
# 2000| data_first, n_seqs,
# 2001| sizeof (guint16) * row_stride,
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c: scope_hint: In function ‘ibus_compose_table_check’
ibus-1.5.34-rc1/src/ibuscomposetable.c:1999:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1999 | seq = bsearch (compose_buffer,
# | ^
# 1997| n_seqs = table->n_seqs;
# 1998| }
# 1999|-> seq = bsearch (compose_buffer,
# 2000| data_first, n_seqs,
# 2001| sizeof (guint16) * row_stride,
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuscomposetable.c:1999:9: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 1997| n_seqs = table->n_seqs;
# 1998| }
# 1999|-> seq = bsearch (compose_buffer,
# 2000| data_first, n_seqs,
# 2001| sizeof (guint16) * row_stride,
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/src/ibushotkey.c:436:19: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p2'
ibus-1.5.34-rc1/src/ibushotkey.c:423:8: branch_false: following 'false' branch...
ibus-1.5.34-rc1/src/ibushotkey.c:423:8: branch_false: ...to here
ibus-1.5.34-rc1/src/ibushotkey.c:428:18: branch_false: following 'false' branch...
ibus-1.5.34-rc1/src/ibushotkey.c:436:19: branch_false: ...to here
ibus-1.5.34-rc1/src/ibushotkey.c:436:19: danger: dereference of NULL 'p2'
# 434| g_assert (p2 && p2->event == event);
# 435|
# 436|-> p2->hotkeys = g_list_remove (p2->hotkeys, p1);
# 437| if (p2->hotkeys == NULL) {
# 438| g_array_remove_index_fast (priv->events, i);
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuskeys.c: scope_hint: In function 'ibus_keyval_name'
ibus-1.5.34-rc1/src/ibuskeys.c:52:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 52 | found = bsearch (&keyval, gdk_keys_by_keyval,
# | ^
# 50| /* <ohorn> with 0x01000000 is supported in gdk_keys_by_keyval */
# 51|
# 52|-> found = bsearch (&keyval, gdk_keys_by_keyval,
# 53| IBUS_NUM_KEYS, sizeof (gdk_key),
# 54| gdk_keys_keyval_compare);
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuskeys.c:52:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 50| /* <ohorn> with 0x01000000 is supported in gdk_keys_by_keyval */
# 51|
# 52|-> found = bsearch (&keyval, gdk_keys_by_keyval,
# 53| IBUS_NUM_KEYS, sizeof (gdk_key),
# 54| gdk_keys_keyval_compare);
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuskeys.c: scope_hint: In function 'ibus_keyval_from_name'
ibus-1.5.34-rc1/src/ibuskeys.c:87:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 87 | found = bsearch (keyval_name, gdk_keys_by_name,
# | ^
# 85| g_return_val_if_fail (keyval_name != NULL, 0);
# 86|
# 87|-> found = bsearch (keyval_name, gdk_keys_by_name,
# 88| IBUS_NUM_KEYS, sizeof (gdk_key),
# 89| gdk_keys_name_compare);
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibuskeys.c:87:9: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 85| g_return_val_if_fail (keyval_name != NULL, 0);
# 86|
# 87|-> found = bsearch (keyval_name, gdk_keys_by_name,
# 88| IBUS_NUM_KEYS, sizeof (gdk_key),
# 89| gdk_keys_name_compare);
Error: GCC_ANALYZER_WARNING (CWE-688):
ibus-1.5.34-rc1/src/ibusobservedpath.c:508:21: warning[-Wanalyzer-null-argument]: use of NULL 'path' where non-null expected
ibus-1.5.34-rc1/src/ibusobservedpath.c:484:1: enter_function: entry to 'ibus_observed_path_new'
ibus-1.5.34-rc1/src/ibusobservedpath.c:494:5: release_memory: 'path' is NULL
ibus-1.5.34-rc1/src/ibusobservedpath.c:497:21: call_function: calling 'ibus_observed_path_traverse' from 'ibus_observed_path_new'
ibus-1.5.34-rc1/src/ibusobservedpath.c:497:21: return_function: returning to 'ibus_observed_path_new' from 'ibus_observed_path_traverse'
ibus-1.5.34-rc1/src/ibusobservedpath.c:498:12: branch_true: following 'true' branch (when 'l' is non-NULL)...
ibus-1.5.34-rc1/src/ibusobservedpath.c:499:27: branch_true: ...to here
ibus-1.5.34-rc1/src/ibusobservedpath.c:502:9: branch_true: following 'true' branch...
ibus-1.5.34-rc1/src/ibusobservedpath.c:507:12: branch_true: following 'true' branch...
ibus-1.5.34-rc1/src/ibusobservedpath.c:508:21: branch_true: ...to here
ibus-1.5.34-rc1/src/ibusobservedpath.c:508:21: danger: argument 1 ('path') NULL where non-null expected
# 506| continue;
# 507| if (g_str_has_prefix (file, path)) {
# 508|-> file += strlen (path);
# 509| if (*file == '/')
# 510| file++;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/src/ibusservice.c:289:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'error'
ibus-1.5.34-rc1/src/ibusservice.c:283:1: enter_function: entry to 'ibus_service_constructed'
ibus-1.5.34-rc1/src/ibusservice.c:286:8: branch_true: following 'true' branch...
ibus-1.5.34-rc1/src/ibusservice.c:287:17: branch_true: ...to here
ibus-1.5.34-rc1/src/ibusservice.c:287:17: release_memory: 'error' is NULL
ibus-1.5.34-rc1/src/ibusservice.c:288:14: call_function: calling 'ibus_service_register' from 'ibus_service_constructed'
ibus-1.5.34-rc1/src/ibusservice.c:288:14: return_function: returning to 'ibus_service_constructed' from 'ibus_service_register'
ibus-1.5.34-rc1/src/ibusservice.c:288:12: branch_true: following 'true' branch...
ibus-1.5.34-rc1/src/ibusservice.c:289:13: branch_true: ...to here
ibus-1.5.34-rc1/src/ibusservice.c:289:13: release_memory: 'error' is NULL
ibus-1.5.34-rc1/src/ibusservice.c:289:13: danger: dereference of NULL 'error'
# 287| GError *error = NULL;
# 288| if (!ibus_service_register (service, service->priv->connection, &error)) {
# 289|-> g_warning ("%s", error->message);
# 290| g_error_free (error);
# 291| }
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibusutil.c: scope_hint: In function 'ibus_get_untranslated_raw_language_name'
ibus-1.5.34-rc1/src/ibusutil.c:148:12: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 148 | if ((p = strchr (_locale, '_')) != NULL)
# | ^
# 146| if (__languages_dict == NULL )
# 147| _load_lang();
# 148|-> if ((p = strchr (_locale, '_')) != NULL)
# 149| p = g_strndup (_locale, p - _locale);
# 150| else
Error: COMPILER_WARNING (CWE-704):
ibus-1.5.34-rc1/src/ibusutil.c:148:12: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
# 146| if (__languages_dict == NULL )
# 147| _load_lang();
# 148|-> if ((p = strchr (_locale, '_')) != NULL)
# 149| p = g_strndup (_locale, p - _locale);
# 150| else
Error: GCC_ANALYZER_WARNING (CWE-688):
ibus-1.5.34-rc1/tools/krcfile.c:1405:34: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
ibus-1.5.34-rc1/tools/krcfile.c:1490:1: enter_function: entry to ‘krc_file_load_from_file’
ibus-1.5.34-rc1/tools/krcfile.c:1498:16: release_memory: ‘_tmp4_’ is NULL
ibus-1.5.34-rc1/tools/krcfile.c:1504:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1505:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1505:9: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1506:14: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1506:12: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1523:18: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1528:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1542:12: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1542:12: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1549:18: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1549:18: call_function: calling ‘krc_file_parse_data’ from ‘krc_file_load_from_file’
# 1403| offset = i + 1;
# 1404| _tmp2_ = sub;
# 1405|-> _tmp3_ = strlen (_tmp2_);
# 1406| _tmp4_ = _tmp3_;
# 1407| if (_tmp4_ > 0) {
Error: GCC_ANALYZER_WARNING (CWE-688):
ibus-1.5.34-rc1/tools/krcfile.c:1436:43: warning[-Wanalyzer-null-argument]: use of NULL ‘sub’ where non-null expected
ibus-1.5.34-rc1/tools/krcfile.c:1490:1: enter_function: entry to ‘krc_file_load_from_file’
ibus-1.5.34-rc1/tools/krcfile.c:1498:16: release_memory: ‘_tmp4_’ is NULL
ibus-1.5.34-rc1/tools/krcfile.c:1504:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1505:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1505:9: branch_true: following ‘true’ branch (when ‘path’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1506:14: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1506:12: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1523:18: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1528:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1542:12: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1542:12: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1549:18: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1549:18: call_function: calling ‘krc_file_parse_data’ from ‘krc_file_load_from_file’
# 1434| gint _tmp14_;
# 1435| _tmp12_ = sub;
# 1436|-> _tmp13_ = strlen (_tmp12_);
# 1437| _tmp14_ = _tmp13_;
# 1438| if (_tmp14_ == 0) {
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:1651:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:1613:1: enter_function: entry to ‘krc_file_get_keys’
ibus-1.5.34-rc1/tools/krcfile.c:1631:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1632:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1632:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1633:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1637:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_get_keys’
ibus-1.5.34-rc1/tools/krcfile.c:1637:18: return_function: returning to ‘krc_file_get_keys’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:1639:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1651:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1651:9: danger: dereference of NULL ‘krc_file_get_group_node_with_name(self, group_name, 1, & _inner_error0_)’
# 1649| }
# 1650| }
# 1651|-> _tmp2_ = group_node->data;
# 1652| _tmp3_ = (*((KRcFileGroup*) _tmp2_)).key_value_pairs;
# 1653| tmp = _tmp3_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:1731:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:1700:1: enter_function: entry to ‘krc_file_has_key’
ibus-1.5.34-rc1/tools/krcfile.c:1713:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1714:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1714:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1715:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1715:9: branch_true: following ‘true’ branch (when ‘key’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1716:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1716:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_has_key’
ibus-1.5.34-rc1/tools/krcfile.c:1716:18: return_function: returning to ‘krc_file_has_key’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:1718:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1731:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1731:9: danger: dereference of NULL ‘krc_file_get_group_node_with_name(self, group_name, 1, & _inner_error0_)’
# 1729| }
# 1730| _tmp3_ = group_node;
# 1731|-> _tmp4_ = _tmp3_->data;
# 1732| _tmp5_ = (*((KRcFileGroup*) _tmp4_)).key_value_pairs;
# 1733| tmp = _tmp5_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:1798:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:1771:1: enter_function: entry to ‘krc_file_remove_group’
ibus-1.5.34-rc1/tools/krcfile.c:1782:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1783:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1783:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1784:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1784:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_remove_group’
ibus-1.5.34-rc1/tools/krcfile.c:1784:18: return_function: returning to ‘krc_file_remove_group’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:1786:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1798:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1798:9: danger: dereference of NULL ‘krc_file_get_group_node_with_name(self, group_name, 1, & _inner_error0_)’
# 1796| }
# 1797| }
# 1798|-> _tmp3_ = group_node->data;
# 1799| _tmp4_ = (*((KRcFileGroup*) _tmp3_)).key_value_pairs;
# 1800| tmp = _tmp4_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:1857:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:1823:1: enter_function: entry to ‘krc_file_remove_key’
ibus-1.5.34-rc1/tools/krcfile.c:1839:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1840:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1840:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1841:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1841:9: branch_true: following ‘true’ branch (when ‘key’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1842:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1842:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_remove_key’
ibus-1.5.34-rc1/tools/krcfile.c:1842:18: return_function: returning to ‘krc_file_remove_key’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:1844:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1857:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1857:9: danger: dereference of NULL ‘krc_file_get_group_node_with_name(self, group_name, 1, & _inner_error0_)’
# 1855| }
# 1856| _tmp3_ = group_node;
# 1857|-> _tmp4_ = _tmp3_->data;
# 1858| _tmp5_ = (*((KRcFileGroup*) _tmp4_)).key_value_pairs;
# 1859| tmp = _tmp5_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:1879:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:1823:1: enter_function: entry to ‘krc_file_remove_key’
ibus-1.5.34-rc1/tools/krcfile.c:1839:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1840:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1840:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1841:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1841:9: branch_true: following ‘true’ branch (when ‘key’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1842:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1842:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_remove_key’
ibus-1.5.34-rc1/tools/krcfile.c:1842:18: return_function: returning to ‘krc_file_remove_key’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:1844:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:1857:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1871:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1875:17: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1876:26: call_function: inlined call to ‘_krc_file_key_value_pair_dup0’ from ‘krc_file_remove_key’
ibus-1.5.34-rc1/tools/krcfile.c:1879:17: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1879:17: danger: dereference of NULL ‘<unknown>’
# 1877| pair = _tmp9_;
# 1878| _tmp10_ = pair;
# 1879|-> _tmp11_ = (*_tmp10_).key;
# 1880| if (g_strcmp0 (_tmp11_, key) == 0) {
# 1881| _krc_file_key_value_pair_free0 (pair);
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:1964:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:1915:1: enter_function: entry to ‘krc_file_to_data’
ibus-1.5.34-rc1/tools/krcfile.c:1926:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1927:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1947:36: branch_false: following ‘false’ branch (when ‘_tmp3_ != 0’)...
ibus-1.5.34-rc1/tools/krcfile.c:1956:36: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1956:36: branch_false: following ‘false’ branch (when ‘group_node’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:1960:33: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1961:42: call_function: inlined call to ‘_krc_file_group_dup0’ from ‘krc_file_to_data’
ibus-1.5.34-rc1/tools/krcfile.c:1964:33: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:1964:33: danger: dereference of NULL ‘<unknown>’
# 1962| group = _tmp9_;
# 1963| _tmp10_ = group;
# 1964|-> _tmp11_ = (*_tmp10_).name;
# 1965| if (_tmp11_ != NULL) {
# 1966| GString* _tmp12_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:2125:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:2095:1: enter_function: entry to ‘krc_file_get_value’
ibus-1.5.34-rc1/tools/krcfile.c:2109:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2110:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2110:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2111:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2111:9: branch_true: following ‘true’ branch (when ‘key’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2112:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2112:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_get_value’
ibus-1.5.34-rc1/tools/krcfile.c:2112:18: return_function: returning to ‘krc_file_get_value’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:2114:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:2125:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2125:9: danger: dereference of NULL ‘krc_file_get_group_node_with_name(self, group_name, 1, & _inner_error0_)’
# 2123| }
# 2124| _tmp1_ = group_node;
# 2125|-> _tmp2_ = _tmp1_->data;
# 2126| _tmp3_ = (*((KRcFileGroup*) _tmp2_)).key_value_pairs;
# 2127| tmp = _tmp3_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/krcfile.c:2147:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/krcfile.c:2095:1: enter_function: entry to ‘krc_file_get_value’
ibus-1.5.34-rc1/tools/krcfile.c:2109:9: branch_true: following ‘true’ branch (when ‘self’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2110:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2110:9: branch_true: following ‘true’ branch (when ‘group_name’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2111:9: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2111:9: branch_true: following ‘true’ branch (when ‘key’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2112:18: branch_true: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2112:18: call_function: calling ‘krc_file_get_group_node_with_name’ from ‘krc_file_get_value’
ibus-1.5.34-rc1/tools/krcfile.c:2112:18: return_function: returning to ‘krc_file_get_value’ from ‘krc_file_get_group_node_with_name’
ibus-1.5.34-rc1/tools/krcfile.c:2114:13: branch_false: following ‘false’ branch...
ibus-1.5.34-rc1/tools/krcfile.c:2125:9: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2139:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
ibus-1.5.34-rc1/tools/krcfile.c:2143:17: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2144:26: call_function: inlined call to ‘_krc_file_key_value_pair_dup0’ from ‘krc_file_get_value’
ibus-1.5.34-rc1/tools/krcfile.c:2147:17: branch_false: ...to here
ibus-1.5.34-rc1/tools/krcfile.c:2147:17: danger: dereference of NULL ‘<unknown>’
# 2145| pair = _tmp7_;
# 2146| _tmp8_ = pair;
# 2147|-> _tmp9_ = (*_tmp8_).key;
# 2148| if (g_strcmp0 (_tmp9_, key) == 0) {
# 2149| KRcFileKeyValuePair* _tmp10_;
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/main.c:2355:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/main.c:4896:1: enter_function: entry to ‘_list_engine_entry_func’
ibus-1.5.34-rc1/tools/main.c:4901:18: call_function: calling ‘list_engine’ from ‘_list_engine_entry_func’
# 2353| _g_free0 (_tmp47_);
# 2354| _tmp48_ = list;
# 2355|-> _tmp49_ = _tmp48_->data;
# 2356| _tmp49__length1 = _tmp48_->data_length1;
# 2357| {
Error: GCC_ANALYZER_WARNING (CWE-476):
ibus-1.5.34-rc1/tools/main.c:5129:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
ibus-1.5.34-rc1/tools/main.c:5082:1: enter_function: entry to ‘_vala_main’
ibus-1.5.34-rc1/tools/main.c:5112:12: branch_false: following ‘false’ branch (when ‘argv_length1 > 1’)...
ibus-1.5.34-rc1/tools/main.c:5119:63: branch_false: ...to here
ibus-1.5.34-rc1/tools/main.c:5119:35: call_function: calling ‘_vala_array_dup1’ from ‘_vala_main’
ibus-1.5.34-rc1/tools/main.c:5119:35: return_function: returning to ‘_vala_main’ from ‘_vala_array_dup1’
ibus-1.5.34-rc1/tools/main.c:5129:9: danger: dereference of NULL ‘_vala_array_dup1(argv + 8, (long int)(argv_length1 + -1))’
# 5127| _tmp6_ = new_argv;
# 5128| _tmp6__length1 = new_argv_length1;
# 5129|-> _tmp7_ = _tmp6_[0];
# 5130| _tmp8_ = g_strdup_printf ("%s %s", _tmp5_, _tmp7_);
# 5131| _g_free0 (_tmp4_[0]);