#45547: ruledit: calloc with size 0 Open Date: 2022-09-01 21:40 Last Update: 2022-11-26 12:56 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45547 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45547 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-11-26 12:56 Updated by: cazfi * Milestone Update from (None) to 3.0.5 * Component Update from (None) to General Comment: 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. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.5 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket 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 information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/45547 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45547