Ticket #45547

ruledit: calloc with size 0

Eröffnet am: 2022-09-02 03:40 Letztes Update: 2022-12-01 23:13

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
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-Verlauf (3/7 Historien)

2022-09-02 03:40 Aktualisiert von: cazfi
  • New Ticket "ruledit: calloc with size 0" created
2022-11-26 19:56 Aktualisiert von: cazfi
  • Meilenstein Update from (Keine) to 3.0.5 (closed)
  • Komponente Update from (Keine) to General
Kommentar

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 Aktualisiert von: cazfi
  • Komponente Update from General to Scripting API
2022-11-27 19:57 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
Kommentar

Separate version for S2_6 attached.

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