codebackup / bwapi

Automatically exported from code.google.com/p/bwapi
0 stars 0 forks source link

Null pointer given to QueueGameCommand #399

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://img62.imageshack.us/img62/9580/sccrash.jpg

Odd since I think we always specify non-null arguments whenever we call 
QueueGameCommand except when we call it from CommandFilter. Maybe CommandFilter 
is being given a null buffer which is being passed to QueueGameCommand?

Original issue reported on code.google.com by lowerlo...@gmail.com on 14 Aug 2011 at 1:59

GoogleCodeExporter commented 9 years ago
That stack is impossible. (and by Impossible I mean can never happen if you're 
only running Starcraft 1.16.1 and the head revision of BWAPI).

We don't hook at that location, so something is definitely wrong with it.
NULL pointer and 0 size was fixed anyway in r3847.

Won't include this in the change log since it can't actually happen.

Original comment by AHeinerm on 14 Aug 2011 at 7:48