Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 141563 | Differences between
and this patch

Collapse All | Expand All

(-)server/unithand.c.old (-1 / +1 lines)
Lines 1593-1599 Link Here
1593
  struct unit *punit = player_find_unit_by_id(pplayer, packet->unit_id);
1593
  struct unit *punit = player_find_unit_by_id(pplayer, packet->unit_id);
1594
  int i;
1594
  int i;
1595
1595
1596
  if (!punit || packet->length < 0 || punit->activity != ACTIVITY_IDLE) {
1596
  if (!punit || packet->length < 0 || packet->length > MAX_LEN_ROUTE || punit->activity != ACTIVITY_IDLE) {
1597
    return;
1597
    return;
1598
  }
1598
  }
1599
1599

Return to bug 141563