public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: teigland@sourceware.org To: cluster-cvs@sources.redhat.com, cluster-devel@redhat.com Subject: Cluster Project branch, RHEL5, updated. cmirror_1_1_15-14-g1bb513e Date: Thu, 20 Mar 2008 17:31:00 -0000 [thread overview] Message-ID: <20080320173124.20299.qmail@sourceware.org> (raw) 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 "Cluster Project". http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=1bb513e542a4ca7f3e79f5000b0bb0783a41b0b5 The branch, RHEL5 has been updated via 1bb513e542a4ca7f3e79f5000b0bb0783a41b0b5 (commit) from 1acab71f585b845992e6070d6616644690f4e444 (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 1bb513e542a4ca7f3e79f5000b0bb0783a41b0b5 Author: David Teigland <teigland@redhat.com> Date: Fri Mar 14 10:36:54 2008 -0500 libdlm: fix lvb copying bz 437496 When a program does a lock operation that reads an lvb, libdlm copies the lvb data from a bogus location instead of from the proper offset in the buffer it just read. The location of the lvb data is calculated wrongly due to a missing cast. Signed-off-by: David Teigland <teigland@redhat.com> ----------------------------------------------------------------------- Summary of changes: dlm/lib/libdlm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlm/lib/libdlm.c b/dlm/lib/libdlm.c index 5e4c7ef..876c16e 100644 --- a/dlm/lib/libdlm.c +++ b/dlm/lib/libdlm.c @@ -573,7 +573,7 @@ static int do_dlm_dispatch_v6(int fd) /* Copy lvb to user's buffer */ if (result->lvb_offset) memcpy(result->user_lksb->sb_lvbptr, - result + result->lvb_offset, DLM_LVB_LEN); + (char *)result + result->lvb_offset, DLM_LVB_LEN); result->user_lksb->sb_status = -result->user_lksb->sb_status; hooks/post-receive -- Cluster Project
reply other threads:[~2008-03-20 17:31 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080320173124.20299.qmail@sourceware.org \ --to=teigland@sourceware.org \ --cc=cluster-cvs@sources.redhat.com \ --cc=cluster-devel@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).