[Freeciv-tickets] [freeciv] #45771: fc_vsnprintf() local buffer not freed

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat Oct 8 09:29:22 JST 2022


#45771: fc_vsnprintf() local buffer not freed

  Open Date: 2022-10-05 04:30
Last Update: 2022-10-08 03:29

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

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

Last Changes/Comment on this Ticket:
2022-10-08 03:29 Updated by: cazfi

Comment:

- Added S2_6 version. Though this is critical (not real leak, but just missing cleanup on program exit - main bad effect being spamming error logs), further fixes will be easier to backport on top of it
- New S3_1 & S3_0 versions with a fix to a build breaking typo

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

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.5
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Valgrind on S3_1 reports memory leak on get_option_malloc() called from on server for --read option.

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



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