#48869: dbv_copy() messing memory Open Date: 2023-10-18 08:25 Last Update: 2023-10-18 08:25 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48869 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48869 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-10-18 08:25 Updated by: cazfi * New Ticket "dbv_copy() messing memory" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.9 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: dbv_copy() has the pointer, not the pointed memory, as the copy target. This results in pointers pointing to random address. There's no current users for dbv_copy(), but #48798 will be one. -- 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/48869 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48869