* Check for NULL pointers before reading them.
This commit is contained in:
parent
db1b9dff32
commit
77c30bdfba
@ -205,7 +205,7 @@ rcvBeaconMessage(char * beacon)
|
||||
cp = strtok_r(NULL, "=\r\n", &tokptr);
|
||||
}
|
||||
|
||||
if( tivoConnect == NULL )
|
||||
if( !tivoConnect || !platform || !method )
|
||||
return 0;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
Loading…
x
Reference in New Issue
Block a user