From: Jeff Moyer <jmoyer@redhat.com>
To: Alexey Khoroshilov <khoroshilov@ispras.ru>
Cc: Jens Axboe <axboe@kernel.dk>,
Alexander Viro <viro@zeniv.linux.org.uk>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
ldv-project@ispras.ru
Subject: Re: [PATCH] bio: Fix potential memory leak in bio_find_or_create_slab()
Date: Thu, 09 Aug 2012 09:15:10 -0400 [thread overview]
Message-ID: <x49393ww6jl.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <1344491532-4969-1-git-send-email-khoroshilov@ispras.ru> (Alexey Khoroshilov's message of "Thu, 9 Aug 2012 09:52:12 +0400")
Alexey Khoroshilov <khoroshilov@ispras.ru> writes:
> Do not leak memory by updating pointer with potentially NULL realloc return value.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
next prev parent reply other threads:[~2012-08-09 13:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-09 5:52 [PATCH] bio: Fix potential memory leak in bio_find_or_create_slab() Alexey Khoroshilov
2012-08-09 13:15 ` Jeff Moyer [this message]
2012-08-09 13:19 ` Jens Axboe
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=x49393ww6jl.fsf@segfault.boston.devel.redhat.com \
--to=jmoyer@redhat.com \
--cc=axboe@kernel.dk \
--cc=khoroshilov@ispras.ru \
--cc=ldv-project@ispras.ru \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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 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 NNTP newsgroup(s).