Tíquete #48722

Incorrect types passed as API_TYPE_INT

: 2023-09-25 00:48 Última Atualização: 2023-09-30 13:25

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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 History (3/6 Histories)

2023-09-25 00:48 Updated by: cazfi
  • New Ticket "Incorrect types passed as API_TYPE_INT" created
2023-09-25 01:09 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2023-09-30 12:46 Updated by: cazfi
Comentário

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 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