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

Zurück zum Archiv-Index
OSDN Ticket System norep****@osdn*****
Fri Oct 21 01:12:32 JST 2022


#45905: Fallback fc_vsnprintf() not thread safe

  Open Date: 2022-10-17 16:56
Last Update: 2022-10-20 19:12

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-20 19:12 Updated by: cazfi
 * Milestone Update from (None) to 3.0.5


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

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.5
     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
Zurück zum Archiv-Index