Opened 10 years ago

Closed 9 years ago

#932 closed bug (fixed (in master))

Possible infinite loop bug

Reported by: takkaria Owned by:
Milestone: 3.1.2 beta Keywords: cleanup
Cc:

Description

When selecting random extra attributes for ego-items, we currently use a while (1) loop; if an ego item has all possible extra attributes, this could cause an infinite loop.

We need to fix this using either an assert() in init1.c, or by changing the loop.

Change History (2)

comment:1 Changed 10 years ago by d_m

I looked around and couldn't find the while(1) loop in question; init1.c only has one while() loop and it seems unrelated. Maybe this has already been fixed?

comment:2 Changed 9 years ago by d_m

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [dcfd877] (SVN r1651)

Note: See TracTickets for help on using tickets.