n9jlo / bwta

Automatically exported from code.google.com/p/bwta
GNU Lesser General Public License v3.0
0 stars 0 forks source link

getRegion access violation (crash) on bad coordinates #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
After the map has been analyzed, call
BWTA::Region* r = 
BWTA::getRegion(Broodwar->mapWidth()+1,Broodwar->mapHeight()+1);
or
BWTA::Region* r = BWTA::getRegion(-1,-1);

What is the expected output? What do you see instead?
Expected NULL, instead got CRASH.

What version of the product are you using? On what operating system?
Whatever came with BWAPI 3.3, XPSP3

Please provide any additional information below.

Original issue reported on code.google.com by erez27 on 6 Dec 2010 at 10:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r183.

Original comment by lowerlo...@gmail.com on 2 Aug 2011 at 4:28