[Freeciv-tickets] [freeciv] #46412: tileset_read_toplevel() leaks spec_filenames on error

Back to archive index
OSDN Ticket System norep****@osdn*****
Fri Jun 30 21:08:26 JST 2023


#46412: tileset_read_toplevel() leaks spec_filenames on error

  Open Date: 2023-01-01 16:34
Last Update: 2023-06-30 15:08

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/46412
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46412

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-06-30 15:08 Updated by: cazfi
 * Milestone Update from 3.0.8 to 3.0.9


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.9
     Component: Client common
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

Noticed when working on #46411, but the bug exist both before and after that patch: tileset_read_toplevel() scanning of spec file list uses goto on error, and thus skips "free(spec_filenames);" on the list it was processing.

-- 
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/46412
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=46412



More information about the Freeciv-tickets mailing list
Back to archive index