K 10 svn:author V 3 pfg K 8 svn:date V 27 2018-04-19T02:47:21.989686Z K 7 svn:log V 369 MFC r328957: {ext2|ufs}_readdir: Avoid setting negative ncookies. ncookies cannot be negative or the allocator will fail. This should only happen if a caller is very broken but we can still try to survive the event. We should probably also verify for uio_resid > MAXPHYS but in that case it is not clear that just clipping the ncookies value is an adequate response. END