Hello Robin,

I caught it for an ordinary exe file but I have no access to that system
atm.

Such file can be produced with
    *dd if=/dev/urandom of=testfile count=10 && dd if=/dev/zero
of=testfile2 count=9 && cat testfile2 >> testfile && echo 12345 >> testfile
&& rm testfile2*

The result is attached. It is actually a random binary sequence with 0x00
at the end of any 8KB block except the last one.

Another test case can use any  file (plain text is fine) with length that
is not divided evenly by 8.


---
Victor Dubiniuk

On Fri, Jun 15, 2012 at 5:20 PM, Robin Appelman <[email protected]>wrote:

> On Friday 15 June 2012 02:29:48 Victor Dubiniuk wrote:
>
> Does anyone have some small files that get corrupted during encryption for
> use
> in a unit test, they don't actually have to be a valid .exe or anything.
>
>  - Robin Appelman
> _______________________________________________
> Owncloud mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/owncloud
>

Attachment: testfile
Description: Binary data

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to