Tíquete #45547

ruledit: calloc with size 0

: 2022-09-02 03:40 Última Atualização: 2022-12-01 23:13

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

Details

Starting (up to ruleset loading) ruledit with --debug verbose

4: Warning: calloc with size 0 at line 222 of ../../../../src/common/scriptcore/luascript_signal.c
4: Warning: calloc with size 0 at line 222 of ../../../../src/common/scriptcore/luascript_signal.c
4: Warning: calloc with size 0 at line 136 of ../../../../src/common/scriptcore/luascript_func.c

Ticket History (3/7 Histories)

2022-09-02 03:40 Updated by: cazfi
  • New Ticket "ruledit: calloc with size 0" created
2022-11-26 19:56 Updated by: cazfi
  • Marco Update from (Nenhum) to 3.0.5 (fechado)
  • Componente Update from (Nenhum) to General
Comentário

This is not only about ruledit. It happens with normal server too, but is easily lost to the verbose log level spam.

We have signals with zero parameters, and a function with zero returns, but the registration functions are not prepared for that.

All branches affected, including S2_6.

2022-11-27 10:24 Updated by: cazfi
  • Componente Update from General to Scripting API
2022-11-27 19:57 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
Comentário

Separate version for S2_6 attached.

2022-12-01 23:13 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