K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-09-02T18:44:57.977178Z K 7 svn:log V 530 ufs: Don't assume struct dirent == struct direct Remove offset alignment requirement, forthcoming changes in struct dirent will make alignment requirements extremely hard to follow. Work around clients supplying too small buffer. Don't allocate large buffer for dirent conversion, it can be used for DoS attack. Obtained from: ext2_readdir and DragonflyBSD commit e088dc32f085e0201c97af25afcf361190292de3 GSoC r223158. Code by: Gleb Kurtsou. Also eliminate the BYTE_ORDER checking as the struct dirent is filled in directly. END