From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24250 invoked by alias); 6 Aug 2010 18:01:58 -0000 Received: (qmail 23850 invoked by uid 9586); 6 Aug 2010 18:01:57 -0000 Date: Fri, 06 Aug 2010 18:01:00 -0000 Message-ID: <20100806180157.23823.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.3-37-ga575167 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 116bd66960dfbba97a123c4f1fe903d717d1e805 X-Git-Newrev: a5751672ae06f66a5ce28efab17e406af535adfa Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2010-q3/txt/msg00133.txt.bz2 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 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