faimdprintf(sess, 0, "sendmemblock: WARNING: sending bad hash... you will be disconnected soon...\n");
/*
- * This data is correct for AIM 3.5.1670, offset 0x1000, length 0
+ * This data is correct for AIM 3.5.1670, offset 0x03ffffff,
+ * length 0x03ffffff (invalid).
*
* Using this block is as close to "legal" as you can get without
* using an AIM binary.
*
- * For the moment, this is the MD5 hash of nothing. Yes, that's
- * right. Nothing. AOL is smart.
- *
*/
- i += aimutil_put32(tx->data+i, 0xd41d8cd9);
- i += aimutil_put32(tx->data+i, 0x8f00b204);
- i += aimutil_put32(tx->data+i, 0xe9800998);
- i += aimutil_put32(tx->data+i, 0xecf8427e);
+ i += aimutil_put32(tx->data+i, 0x1df8cbae);
+ i += aimutil_put32(tx->data+i, 0x5523b839);
+ i += aimutil_put32(tx->data+i, 0xa0e10db3);
+ i += aimutil_put32(tx->data+i, 0xa46d3b39);
}
unsigned char *buf;
int invalid = 0;
- if (!bufret || !*bufret || !buflenret)
+ if (!bufret || !buflenret)
return -1;
if (modname) {
return -1;
}
- if ((offset > st.st_size) || (offset > st.st_size))
+ if ((offset > st.st_size) || (len > st.st_size))
invalid = 1;
else if ((st.st_size - offset) < len)
len = st.st_size - offset;