From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 1/4] Reading of unitialized memory
Date: Thu, 24 Mar 2011 13:30:51 +0100 [thread overview]
Message-ID: <4D8B397B.5030805@redhat.com> (raw)
In-Reply-To: <3203b388b56009070e7de15bde71d0ded8d9a91f.1300965223.git.zkabelac@redhat.com>
On 03/24/2011 12:16 PM, Zdenek Kabelac wrote:
> if (!(lvm->map = dm_pool_zalloc(mem, sizeof(*lvm->map)
> - * ll->lv->le_count)))
> + * (ll->lv->le_count + 1))))
I do not like such fixes, but because this code is really not going
to be used in future (and I know how complicated it is), let's
"fix" it this way.
turn a blind eye to ... ACK :-)
Milan
next prev parent reply other threads:[~2011-03-24 12:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 11:16 [PATCH 0/4] Valgrind fixes Zdenek Kabelac
2011-03-24 11:16 ` [PATCH 1/4] Reading of unitialized memory Zdenek Kabelac
2011-03-24 12:30 ` Milan Broz [this message]
2011-03-24 11:16 ` [PATCH 2/4] Fix access to released memory Zdenek Kabelac
2011-03-24 12:31 ` Milan Broz
2011-03-24 11:16 ` [PATCH 3/4] Another fix for garbage send in clvmd message Zdenek Kabelac
2011-03-24 12:25 ` Milan Broz
2011-03-24 11:16 ` [PATCH 4/4] Better shutdown for clvmd Zdenek Kabelac
2011-03-24 12:53 ` Milan Broz
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=4D8B397B.5030805@redhat.com \
--to=mbroz@redhat.com \
--cc=lvm-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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.