2.2beta critical patch

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

2.2beta critical patch

Janko Mivšek
Dear Swazooers,

Just found a critical bug which causes corrupted uploaded files. This
bug was very rare and hard to detect.

Here is the patch, which will be included in next beta or final release:

         (inPrevious copyFrom: inPrevious size-1 to: inPrevious size);
       nextPutAll: (boundary copyFrom: 1 to: nrOfBoundary).
   ] "continue from the start"

Problem was in size-1, which was incorrectly size-2. This code is part
of crlf (2 characters) skipping algorithm at the end of MIME part,
before boundary.

Best regards

Janko Mivšek
Smalltalk Web Application Server

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Swazoo-devel mailing list
[hidden email]