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

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sun Jan 1 23:34:13 JST 2023


#46412: tileset_read_toplevel() leaks spec_filenames on error

  Open Date: 2023-01-01 16:34
Last Update: 2023-01-01 16:34

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-01-01 16:34 Updated by: cazfi
 * New Ticket "tileset_read_toplevel() leaks spec_filenames on error" created


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

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.6
     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
アーカイブの一覧に戻る