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.1-29-gf754097


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  f75409719f120a3dbee66d761cf23a64092d1414 (commit)
      from  15b2e969f0f67b2259e0345a446001ac80179968 (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 f75409719f120a3dbee66d761cf23a64092d1414
Author: Josh Stone <jistone@redhat.com>
Date:   Thu Jan 28 21:00:58 2010 -0800

    PR11234: Ensure __get_argv doesn't overflow
    
    That function was calling strlcpy as if the return value was the number
    of bytes copied, but strlcpy actually returns the length of the input
    string.  We now use min() to handle the case when it's bigger than the
    buffer length, and drop out of the loop when that happens.

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

Summary of changes:
 tapset/aux_syscalls.stp                        |   26 ++++++----
 testsuite/systemtap.base/overflow-get_argv.exp |    5 ++
 testsuite/systemtap.base/overflow-get_argv.stp |   62 ++++++++++++++++++++++++
 3 files changed, 82 insertions(+), 11 deletions(-)
 create mode 100644 testsuite/systemtap.base/overflow-get_argv.exp
 create mode 100644 testsuite/systemtap.base/overflow-get_argv.stp


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]