0
0
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:
Dwight 2007-12-12 10:32:34 -05:00
parent 8870507520
commit 6c86ae3278

View File

@ -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;