mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
assert z>len
This commit is contained in:
parent
8870507520
commit
6c86ae3278
@ -104,7 +104,7 @@ bool MessagingPort::recv(Message& m) {
|
||||
|
||||
assert( x == 4 );
|
||||
|
||||
int z = (len+1023)&0xfc00; assert(z>=len);
|
||||
int z = (len+1023)&0xfffffc00; assert(z>=len);
|
||||
MsgData *md = (MsgData *) malloc(z);
|
||||
md->len = len;
|
||||
char *p = (char *) &md->id;
|
||||
|
Loading…
Reference in New Issue
Block a user