This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11100] New: sysdeps/unix/sysv/linux/ptrace.c PTRACE_SETOPTIONS inappropriate pointer check


In sysdeps/unix/sysv/linux/ptrace.c, on line 102, if __BOUNDED__POINTERS__ is 
true, checks are done that pointers point at appropriate locations. Such a 
check is done on the "data" argument to ptrace() if the "request" argument is 
PTRACE_SETOPTIONS. However, according to ptrace(2) (and, indeed, according to 
the gdb sources and the kernel sources), the PTRACE_SETOPTIONS request accepts 
a bitmask of PTRACE_O_* values as its "data" argument, *not* a pointer.

-- 
           Summary: sysdeps/unix/sysv/linux/ptrace.c PTRACE_SETOPTIONS
                    inappropriate pointer check
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: chris2k01 at hotmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11100

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]