[Freeciv-tickets] [freeciv] #45905: Fallback fc_vsnprintf() not thread safe

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Oct 17 22:56:48 JST 2022


#45905: Fallback fc_vsnprintf() not thread safe

  Open Date: 2022-10-17 16:56
Last Update: 2022-10-17 16:56

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

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

Last Changes/Comment on this Ticket:
2022-10-17 16:56 Updated by: cazfi
 * New Ticket "Fallback fc_vsnprintf() not thread safe" created


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

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

Ticket details:

As fc_vsnprintf() fallback version uses single internal buffer for handling all the calls, it's not thread safe. Fallback functionality is used on Windows (& potentially somewhere else).
As fc_vsnprintf() is used in logging, this also breaks its supposed thread safety.


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



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