Menu

#37 Client can SEGV.

open
nobody
client (27)
5
2001-06-09
2001-06-09
Eric Dorman
No

IRIX6.2 server gcc-2.95.2
Linux RH7.1 client gcc-2.96

Client SEGV's at line local.c:571:
for(x = minx;x <= maxx; x++) {
for(y = miny;y <= maxy; y++) {
->> if(terrainInfo[x*250+y].types) {

Somehow we get to this point with terrainInfo == NULL.
I
hacked around it by enclosing outer loop in
if(terrainInfo)
but that's obviously suboptimal.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB