Searched hist:182892 (Results 1 - 1 of 1) sorted by relevance
/freebsd-9.3-release/sys/compat/linux/ | ||
H A D | linux_file.c | diff 182892 Tue Sep 09 14:01:40 MDT 2008 rdivacky Getdents requires padding with 2 bytes instead of 1 byte as with getdents64. The last byte is used for storing the d_type, add this to plain getdents case where it was missing before. Also change the code to use strlcpy instead of plain strcpy. This changes fix the getdents crash we had reports about (hl2 server etc.) PR: kern/117010 MFC after: 1 week Submitted by: Dmitry Chagin (dchagin@) Tested by: MITA Yoshio <mita ee.t.u-tokyo.ac jp> Approved by: kib (mentor) |
Completed in 159 milliseconds