[Freeciv-tickets] [freeciv] #47900: cargo_iter_next() uses -1 array index

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Sun Apr 23 02:57:18 JST 2023


#47900: cargo_iter_next() uses -1 array index

  Open Date: 2023-04-22 13:29
Last Update: 2023-04-22 20:57

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

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

Last Changes/Comment on this Ticket:
2023-04-22 20:57 Updated by: cazfi

Comment:

S3_1/S3_0 patch also for S2_6.

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

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

Ticket details:

Reported by alain_bkr in https://osdn.net/projects/freeciv/ticket/47748#comment:12505:47748:1681095349 :
> ../../common/unit.c:2475:13: runtime error: index -1 out of bounds for type 'const struct unit_list_link *[5]'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../../common/unit.c:2475:13 in
This was with S3_1.

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



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る