bugFreeciv - Bugs: bug #25446, cargo_iter_next - out of bounds...

 
 
Show feedback again

bug #25446: cargo_iter_next - out of bounds for type unit_list_link

Submitted by:  mir3x <mir3x>
Submitted on:  Mon Jan 16 18:08:33 2017  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: 2.6.0, 3.0, 3.1Operating System: None
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon Jan 16 18:08:33 2017, original submission:

In most cases assignment:
y = iter->links[xxx],
xxx is negative value there.

unit.c:static void cargo_iter_next(struct iterator *it)

Add asserts, and start game attached game.

mir3x <mir3x>
Project Member

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #29691:  t1.sav.bz2 added by mir3x (44kB - application/x-bzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mir3x (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jan 16 18:08:33 2017mir3xAttached File-=>Added t1.sav.bz2, #29691
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup