7a30544200
in a row, and we need to try to read the next block, and have passed a non-NULL cookie pointer to VOP_READDIR, ensure that we free the cookie buffer before re-doing VOP_READDIR, so that we don't leak memory. This fix is similar to nfs_serv.c revisions 1.115 + 1.124. This should fix the long-standing problem observed by e.g. using Linux- emulated programs to take backup of servers, which is one of the problems which were reported in PR#42661. Thanks to pooka@ for the hints for traversing the VOP* layer. |
||
---|---|---|
.. | ||
files.svr4_32 | ||
Makefile | ||
sed.script | ||
svr4_32_acl.h | ||
svr4_32_dirent.h | ||
svr4_32_exec_elf32.c | ||
svr4_32_exec.c | ||
svr4_32_exec.h | ||
svr4_32_fcntl.c | ||
svr4_32_fcntl.h | ||
svr4_32_filio.c | ||
svr4_32_fuser.h | ||
svr4_32_hrt.h | ||
svr4_32_ioctl.c | ||
svr4_32_ioctl.h | ||
svr4_32_ipc.c | ||
svr4_32_ipc.h | ||
svr4_32_lwp.c | ||
svr4_32_lwp.h | ||
svr4_32_misc.c | ||
svr4_32_mod.c | ||
svr4_32_net.c | ||
svr4_32_resource.c | ||
svr4_32_resource.h | ||
svr4_32_schedctl.c | ||
svr4_32_schedctl.h | ||
svr4_32_siginfo.h | ||
svr4_32_signal.c | ||
svr4_32_signal.h | ||
svr4_32_socket.c | ||
svr4_32_socket.h | ||
svr4_32_sockio.c | ||
svr4_32_sockio.h | ||
svr4_32_stat.c | ||
svr4_32_stat.h | ||
svr4_32_statvfs.h | ||
svr4_32_stream.c | ||
svr4_32_stropts.h | ||
svr4_32_syscall.h | ||
svr4_32_syscallargs.h | ||
svr4_32_syscalls.c | ||
svr4_32_sysent.c | ||
svr4_32_termios.c | ||
svr4_32_termios.h | ||
svr4_32_time.h | ||
svr4_32_timod.h | ||
svr4_32_types.h | ||
svr4_32_ucontext.h | ||
svr4_32_ustat.h | ||
svr4_32_util.h | ||
syscalls.conf | ||
syscalls.master |