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.3-37-ga575167


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  a5751672ae06f66a5ce28efab17e406af535adfa (commit)
      from  116bd66960dfbba97a123c4f1fe903d717d1e805 (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 a5751672ae06f66a5ce28efab17e406af535adfa
Author: Josh Stone <jistone@redhat.com>
Date:   Fri Aug 6 10:55:32 2010 -0700

    Ignore empty files in the cache
    
    Sometimes crashes can leave just-written files at zero length, so we
    should be a little paranoid that our cached files are ok.  The stapconf
    header is especially vulnerable, as it will prevent all scripts from
    being compiled if it gets bad.
    
    * util.cxx (get_file_size(int)): Read the size from a file descriptor.
    * cache.cxx (get_stapconf_from_cache, get_script_from_cache): Check that
      cached files are non-empty before using them.

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

Summary of changes:
 cache.cxx |    9 ++++++---
 util.cxx  |   12 ++++++++++++
 util.h    |    1 +
 3 files changed, 19 insertions(+), 3 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]