lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201006111426.o5BEQtxh004828@demeter.kernel.org>
Date:	Fri, 11 Jun 2010 14:26:55 GMT
From:	bugzilla-daemon@...zilla.kernel.org
To:	linux-ext4@...r.kernel.org
Subject: [Bug 16165] Wrong data returned on read after write if file size was
 changed with ftruncate before

https://bugzilla.kernel.org/show_bug.cgi?id=16165


Frank Mehnert <frank.mehnert@....com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frank.mehnert@....com




--- Comment #9 from Frank Mehnert <frank.mehnert@....com>  2010-06-11 14:26:51 ---
When compiling the test case, please make sure to add a third parameter to
open(), for example 0777, otherwise it wouldn't compile on Ubuntu (O_CREAT
requires 3 parameters for open).

Executed the testcase here on an up-to-date Ubuntu 10.04 installed on an
ext4-formatted partition. The testcase does NOT fail if the test file already
exists. But it fails about 130 out of 500 times if I remove the test file prior
to each run. When using Linux 2.6.34 vanilla: 7080 out of 10000 runs reported a
corrupted buffer. And, like expected, the test never fails on an ext3
partition.

So please make sure to run the testcase like this:

# for i in `seq 1 500`; do rm -f /mnt/tst; ./aio_corrupt /mnt/tst; done

where /mnt is an ext4 partition.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ