mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-03 05:13:16 +00:00
update other bits in OpenBTS to use safer read() signature
This commit is contained in:
@@ -234,7 +234,7 @@ void ::ARFCNManager::driveRx()
|
||||
{
|
||||
// read the message
|
||||
char buffer[MAX_UDP_LENGTH];
|
||||
int msgLen = mDataSocket.read(buffer);
|
||||
int msgLen = mDataSocket.read(buffer, sizeof(buffer));
|
||||
if (msgLen<=0) SOCKET_ERROR;
|
||||
// decode
|
||||
unsigned char *rp = (unsigned char*)buffer;
|
||||
|
||||
Reference in New Issue
Block a user