This is the mail archive of the systemtap-cvs@sourceware.org mailing list for the systemtap 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]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.0-425-g63db23d


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".

The branch, master has been updated
       via  63db23df87bf6408c0947053288b771d863ecf36 (commit)
      from  0f4e0b6fed0ee334cf33073be381ee22925b59a7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63db23df87bf6408c0947053288b771d863ecf36
Author: Josh Stone <jistone@redhat.com>
Date:   Mon Dec 21 18:26:47 2009 -0800

    PR11112: Check the full %m/M buffer, and limit the length
    
    We already had code in place to try a deref on the requested memory
    buffer, but it was missing the static-precision case.  Thus, it was
    possible to craft an address that would pass the check on the first byte
    but would pagefault at the end of the buffer.
    
    While we're at it, we should also be limiting the number of bytes in
    such a read, so even legitimately-huge buffers won't chew up kernel
    time.  I've arbitrarily chosen 1024 as the limit, but we can revisit
    that later. (see also PR10490)
    
    TODO: we need a reliable testcase where a starting address is valid but
    the end address is bogus.  In PR11112, the reproducer was using a huge
    precision to run off the heap, but we need something that will
    consistently work even with <1024 length.

-----------------------------------------------------------------------

Summary of changes:
 translate.cxx |   39 ++++++++++++++++++++++++++-------------
 1 files changed, 26 insertions(+), 13 deletions(-)


hooks/post-receive
--
systemtap: system-wide probe/trace tool


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