Ticket #48722

Incorrect types passed as API_TYPE_INT

Eröffnet am: 2023-09-25 00:48 Letztes Update: 2023-09-30 13:25

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

Details

We've encountered issues with wrong kind of types being passed to lua signals and functions as API_TYPE_INT in the past. I believe them all to be broken in practice, even if no script has exposed those bugs in a serious way.

Make sure to cast all values passed as API_TYPE_INT as lua_Integer to make sure they are correct no matter C-side type width on the specific host and/or lua-side width.

Ticket-Verlauf (3/6 Historien)

2023-09-25 00:48 Aktualisiert von: cazfi
  • New Ticket "Incorrect types passed as API_TYPE_INT" created
2023-09-25 01:09 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2023-09-30 12:46 Aktualisiert von: cazfi
Kommentar

Pushed to branches other than S3_1, where this did not apply at the moment (must have textual dependency to some other patch earlier in my work branch)

2023-09-30 13:25 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