Project

General

Profile

Bug #658073

server/techtools.c : found_new_tech() : out of bounds indexing

Added by Per M 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
Start date:
Due date:
% Done:

0%


Description

server/techtools.c : found_new_tech() : was_first = (!game.info.global_advances[tech_found]);

However, tech_found is sometimes A_FUTURE, which is higher than A_LAST, which is the length of the global_advances array, causing an out of bounds memory access.

WasFirstOfFuture.patch View (831 Bytes) Marko Lindqvist, 2017-05-06 04:45 PM

History

#1 Updated by Marko Lindqvist 5 months ago

#2 Updated by Marko Lindqvist 5 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF