Tíquete #44833

gtk: popup_add_menu() calls qsort(NULL... )

: 2022-06-15 01:55 Última Atualização: 2022-07-17 06:03

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
3

Details

gtk3.22 diplodlg.c:popup_add_menu() sets city_list_ptrs to NULL if giver has no cities at all. Regardless, later there's qsort(city_list_ptrs...) call.

Ticket History (3/7 Histories)

2022-06-15 01:55 Updated by: cazfi
  • New Ticket "gtk: popup_add_menu() calls qsort(NULL... )" created
2022-07-06 04:11 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2022-07-06 10:39 Updated by: cazfi
Comentário

Will rewrite that commit message before pushing - while with some qsort() implementation there could be NULL dereference, let's just say that we avoid using NULL for a nonnull parameter.

2022-07-17 06:03 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login