Ticket #48139

draw_segment() call to tile_to_canvas_pos() clang analyzer NULL dereference warning

Eröffnet am: 2023-06-02 12:49 Letztes Update: 2023-06-20 22:38

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
3

Details

Clang analyzer warns that draw_segment() may pass NULL as third parameter to tile_to_canvas_pos().

Ticket-Verlauf (3/7 Historien)

2023-06-02 12:49 Aktualisiert von: cazfi
  • New Ticket "draw_segment() call to tile_to_canvas_pos() clang analyzer NULL dereference warning" created
2023-06-11 14:41 Aktualisiert von: cazfi
Kommentar

I think that the warning is sort of regression introduced by #47894. Not as serious as regressions usually are, as one could also interpret this so that the warning that existed prior to #47894 is now just produced about more apt place (not about all tile_to_canvas_pos() calls but specifically about the draw_segment() one)

2023-06-11 16:39 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2023-06-20 22:38 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden