Re: svn commit: r258387 - head/sys/dev/nand

2013-11-21 Thread Grzegorz Bernacki
Hi, Thanks for information. Fix has been committed. regards, grzesiek 2013/11/20 John-Mark Gurney > Grzegorz Bernacki wrote this message on Wed, Nov 20, 2013 at 11:10 +: > > Author: gber > > Date: Wed Nov 20 11:10:23 2013 > > New Revision: 258387 > > URL: http://svnweb.freebsd.org/changes

Re: svn commit: r258387 - head/sys/dev/nand

2013-11-20 Thread John-Mark Gurney
Grzegorz Bernacki wrote this message on Wed, Nov 20, 2013 at 11:10 +: > Author: gber > Date: Wed Nov 20 11:10:23 2013 > New Revision: 258387 > URL: http://svnweb.freebsd.org/changeset/base/258387 > > Log: > Split raw reading/programming into smaller chunks to avoid allocating too > big chu

svn commit: r258387 - head/sys/dev/nand

2013-11-20 Thread Grzegorz Bernacki
Author: gber Date: Wed Nov 20 11:10:23 2013 New Revision: 258387 URL: http://svnweb.freebsd.org/changeset/base/258387 Log: Split raw reading/programming into smaller chunks to avoid allocating too big chunk of kernel memory. Validate size of data. Add error handling to avoid calling copyout(