[OTR-users] Bug report

Reza Mohammadi reza at zeerak.ir
Sun Feb 18 08:28:19 EST 2007


Where can I report a bug? :D

If here, then:
When I send a message larger than some size (I didn't measure exact size but
can guess near 400 characters), OTR gets stuck in a loop;
For example:

(04:26:57 PM) *رضا:* xh = x.hi<<10 | x.lo>>54; yh = y.hi<<10 | y.lo>>54;
hl = GF2Product54x54(&hh, xh, yh & 0x003FFFFFFFFFFFFF);
ml = GF2Product54x54(&mh, xh ^ x.lo, (yh ^ y.lo) & 0x003FFFFFFFFFFFFF);
ml ^= hl; mh ^= hh;
ll = GF2Product54x54(&lh, x.lo, y.lo & 0x003FFFFFFFFFFFFF);
ml ^= ll; mh ^= lh;

t0 = ll; t1 = lh | hl<<44; t2 = hl>>20 | hh<<44; t3 = hh>>20;
t0 ^= ml<<54; t1 ^= ml>>10 | mh<<54; t2 ^= mh>>10;

/* Handle 109th bit. */
{ u64 xb, yb;

 xb = x.hi>>44; yb = y.hi>>44;
if (xb) { t1 ^= y.lo<<44; t2 ^= y.lo>>20; t2 ^= y.hi<<44; t3 ^= y.hi>>20; }
if (yb) { t1 ^= x.lo<<44; t2 ^= x.lo>>20; t2 ^= x.hi<<44; t3 ^= x.hi>>20; }
if (xb & yb) t3 ^= 1UL<<24;
} /* end block */

(04:26:58 PM)* OTR Error: You transmitted a malformed data message*
(04:26:59 PM)* Successfully refreshed the private conversation with a******.
*
(04:26:59 PM)* The last message to **a******.** was resent.*
(04:27:00 PM)* OTR Error: You transmitted a malformed data message*
(04:27:01 PM)* Successfully refreshed the private conversation with * *
a******.*
(04:27:01 PM)* The last message to **a******.** was resent.*
(04:27:01 PM) * OTR Error: You transmitted a malformed data message*


I think OTR does'nt recognize gaim error about large messages.

Gaim version: 2.0.0 beta 4
OTR version: 3.0.0

[reza at localhost ~]$ rpm -qa *otr*
gaim-otr-3.0.1-0.3.20060921cvs
libotr-3.0.0-2

Regards,
-- 
Reza Mohammadi
http://cs.sharif.edu/~remohammadi <http://cs.sharif.edu/%7Eremohammadi>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cypherpunks.ca/pipermail/otr-users/attachments/20070218/34ddee83/attachment.html>


More information about the OTR-users mailing list