mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
Zero out the buffer for readlink() since readlink() does not append a
terminating null byte to the buffer. Also change the buffer length
passed to readlink() to 'PATH_MAX - 1' to ensure the resulting string
is always null terminated.
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| amx.c | ||
| check_cc.sh | ||
| check_initial_reg_state.c | ||
| corrupt_xstate_header.c | ||
| entry_from_vm86.c | ||
| fsgsbase.c | ||
| fsgsbase_restore.c | ||
| helpers.h | ||
| ioperm.c | ||
| iopl.c | ||
| lam.c | ||
| ldt_gdt.c | ||
| Makefile | ||
| mov_ss_trap.c | ||
| nx_stack.c | ||
| ptrace_syscall.c | ||
| raw_syscall_helper_32.S | ||
| sigaltstack.c | ||
| sigreturn.c | ||
| single_step_syscall.c | ||
| syscall_arg_fault.c | ||
| syscall_nt.c | ||
| syscall_numbering.c | ||
| sysret_rip.c | ||
| sysret_ss_attrs.c | ||
| test_FCMOV.c | ||
| test_FCOMI.c | ||
| test_FISTTP.c | ||
| test_mremap_vdso.c | ||
| test_shadow_stack.c | ||
| test_syscall_vdso.c | ||
| test_vsyscall.c | ||
| thunks.S | ||
| thunks_32.S | ||
| trivial_32bit_program.c | ||
| trivial_64bit_program.c | ||
| trivial_program.c | ||
| unwind_vdso.c | ||
| vdso_restorer.c | ||