チケット #44790

gtk2: repodlgs.c "dangling pointer to 'tech_name' may be used"

登録: 2022-06-11 10:56 最終更新: 2022-06-13 01:06

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
3

詳細

Building S3_0 with gcc-12 and -O3 failed on gtk2-client repodlgs.c to several "dangling pointer to 'tech_name' may be used" -warnings.

I've not yet checked if other gtk-clients / other branches are affected.

Given that gcc-12 is stable already, I think we should postpone 3.0.2 release for this (especially if other gtk-clients are affected)

チケットの履歴 (8 件中 3 件表示)

2022-06-11 10:56 更新者: cazfi
  • 新しいチケット "gtk2: repodlgs.c "dangling pointer to 'tech_name' may be used"" が作成されました
2022-06-11 11:22 更新者: cazfi
コメント

All gtk-clients are affected. Don't really know how the compiler gets warning like that out of it, but I noticed that the use of gtk_tree_model_get() in science_report_combo_get_active() (and callers) doesn't really comply with gtk documentation, but results in memory leak. Fixing that made also the compiler warning to go away.

2022-06-11 11:35 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
  • コンポーネント(未割り当て) から Gtk3.22-client に更新されました
コメント

S3_0 patch attached - may push this earlier than to other branches, to unblock 3.0.2 release.

2022-06-11 12:29 更新者: cazfi
コメント

Patches for the remaining branches attached. Will push S3_0 patch to S2_6 too.

2022-06-13 01:06 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする