public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-29-gf754097
@ 2010-01-29  5:11 jistone
  0 siblings, 0 replies; only message in thread
From: jistone @ 2010-01-29  5:11 UTC (permalink / raw)
  To: systemtap-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-29  5:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-29  5:11 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-29-gf754097 jistone

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).