public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11100] New: sysdeps/unix/sysv/linux/ptrace.c PTRACE_SETOPTIONS inappropriate pointer check
@ 2009-12-16 22:11 chris2k01 at hotmail dot com
  2010-04-05  4:30 ` [Bug libc/11100] " drepper at redhat dot com
  2010-04-05  8:12 ` chris2k01 at hotmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: chris2k01 at hotmail dot com @ 2009-12-16 22:11 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-30 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11100-131@http.sourceware.org/bugzilla/>
2014-06-30 20:31 ` [Bug libc/11100] sysdeps/unix/sysv/linux/ptrace.c PTRACE_SETOPTIONS inappropriate pointer check fweimer at redhat dot com
2009-12-16 22:11 [Bug libc/11100] New: " chris2k01 at hotmail dot com
2010-04-05  4:30 ` [Bug libc/11100] " drepper at redhat dot com
2010-04-05  8:12 ` chris2k01 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).