sandbox/fs: Use correct size path name buffer
The readdir linux manpage explicitly states (quoting POSIX.1) that sizeof(d_name) is not correct for determining the required size, but to always use strlen. Grow the buffer if needed. Signed-off-by: NStefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录