[OTR-dev] OTR Fragmenting Support

Alex alex323 at gmail.com
Wed Apr 12 17:34:42 EDT 2006


Ian Goldberg wrote:

>On Wed, Apr 12, 2006 at 01:47:55PM -0400, Alex wrote:
>  
>
>>Hey. I created a patch for limited fragmenting support in libotr. It
>>only works with in the AKE, but that's where many of the longest
>>messages are sent. I have not modified the library to include support
>>for data messages, as I do not know how the fragmented messages should
>>be returned. to the application. Attached is a README and the patch. You
>>can also download the patch at sourceforge:
>>    
>>
>
>A good start.  Thanks!
>
>There are a few problems with it (mms is never initialized; your
>fragments are too large (they don't take into account the size of the
>header); you don't free memory properly in the event of an error; etc.),
>but it's definitely in line with what was intended.
>
This was my first real C project I've done, so any suggestions/tips are
appreciated. Thanks.

 - Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20060412/3d725003/attachment.pgp>


More information about the OTR-dev mailing list