This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.3-343-gcf172f1
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 2 Dec 2010 20:06:12 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.3-343-gcf172f1
- Reply-to: systemtap at sourceware dot org
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 cf172f14c8caf916965a05e34b2e42bf9a92b469 (commit)
from d0d71073a908c337968247b53cd60833d9652b1a (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 cf172f14c8caf916965a05e34b2e42bf9a92b469
Author: David Smith <dsmith@redhat.com>
Date: Thu Dec 2 14:05:39 2010 -0600
Fixed possible string buffer overruns in several embedded-C functions.
* tapset/socket.stp (sock_flags_num2str): Use strlcat() instead of
strcat() to guard against buffer overruns. Instead of creating the
string in a temporary variable and then copying it to THIS->__retvalue,
just create the string in THIS->__retvalue.
(msg_flags_num2str): Ditto.
* tapset/inet_sock.stp (daddr_to_string): Use snprintf() instead of
sprintf() to guard against buffer overruns.
* tapset/signal.stp (sigset_mask_str): Ditto.
* tapset/s390/nd_syscalls.stp (get_32mmap_args): Use strlcat()/snprintf()
instead of strcat()/sprintf() to guard against buffer overruns.
* tapset/s390/syscalls.stp: Removed unused function get_32mmap_args().
* tapset/aux_syscalls.stp: Minor string-related fixes.
* tapset/string.stp: Ditto.
-----------------------------------------------------------------------
Summary of changes:
tapset/aux_syscalls.stp | 25 +++++++++----
tapset/inet_sock.stp | 2 +-
tapset/s390/nd_syscalls.stp | 62 ++++++++++++++++++---------------
tapset/s390/syscalls.stp | 58 -------------------------------
tapset/signal.stp | 4 ++-
tapset/socket.stp | 80 +++++++++++++++++++++++++------------------
tapset/string.stp | 1 +
7 files changed, 103 insertions(+), 129 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool