[Freeciv-tickets] [freeciv] #48624: player.c 'player' from NULL 'pslot'

Back to archive index
OSDN Ticket System norep****@osdn*****
Wed Sep 13 22:48:04 JST 2023


#48624: player.c 'player' from NULL 'pslot'

  Open Date: 2023-09-13 16:48
Last Update: 2023-09-13 16:48

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

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

Last Changes/Comment on this Ticket:
2023-09-13 16:48 Updated by: cazfi
 * New Ticket "player.c 'player' from NULL 'pslot'" 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:

S3_1, clang analyzer:
../../../src/common/player.c:509:17: warning: Access to field 'player' res
ults in a dereference of a null pointer (loaded from variable 'pslot') [co
re.NullDereference]
  pslot->player = pplayer;


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



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