Re: svn commit: r287283 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-09-04 Thread Steven Hartland
Would it be worth commenting in the code about this, so we don't make the mistake again? On 03/09/2015 18:45, Andriy Gapon wrote: >Date: Sat Aug ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To uns

Re: svn commit: r287283 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-09-03 Thread Andriy Gapon
On 29/08/2015 12:22, Xin LI wrote: > Author: delphij > Date: Sat Aug 29 09:22:32 2015 > New Revision: 287283 > URL: https://svnweb.freebsd.org/changeset/base/287283 > > Log: > Fix a buffer overrun which may lead to data corruption, introduced in > r286951 by reinstating changes in r274628. >

svn commit: r287283 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-29 Thread Xin LI
Author: delphij Date: Sat Aug 29 09:22:32 2015 New Revision: 287283 URL: https://svnweb.freebsd.org/changeset/base/287283 Log: Fix a buffer overrun which may lead to data corruption, introduced in r286951 by reinstating changes in r274628. In l2arc_compress_buf(), we allocate a buffer to