All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Borzenkov <pavel.borzenkov@gmail.com>
To: qemu-devel@nongnu.org
Cc: armbru@redhat.com
Subject: [Qemu-devel] [PATCH v2 0/3] Misc small fixes in cmd.c
Date: Mon, 31 Oct 2011 22:53:35 +0400	[thread overview]
Message-ID: <1320087218-4230-1-git-send-email-pavel.borzenkov@gmail.com> (raw)

The first patch fixes coding style of the functions affected by next two
patches.
Second patch fixes potential NULL pointer dereference (return value of realloc
is not checked).
Third patch fixes potential memory leak (for the case when realloc returns
NULL).

Pavel Borzenkov (3):
  cmd: Fix coding style in cmd.c
  cmd: Fix potential NULL pointer dereference
  cmd: Fix potential memory leak

 cmd.c |  168 ++++++++++++++++++++++++++++++++---------------------------------
 1 files changed, 82 insertions(+), 86 deletions(-)

             reply	other threads:[~2011-10-31 18:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-31 18:53 Pavel Borzenkov [this message]
2011-10-31 18:53 ` [Qemu-devel] [PATCH v2 1/3] cmd: Fix coding style in cmd.c Pavel Borzenkov
2011-10-31 18:53 ` [Qemu-devel] [PATCH v2 2/3] cmd: Fix potential NULL pointer dereference Pavel Borzenkov
2011-10-31 18:53 ` [Qemu-devel] [PATCH v2 3/3] cmd: Fix potential memory leak Pavel Borzenkov
2011-11-01  8:37 ` [Qemu-devel] [PATCH v2 0/3] Misc small fixes in cmd.c Stefan Hajnoczi

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=1320087218-4230-1-git-send-email-pavel.borzenkov@gmail.com \
    --to=pavel.borzenkov@gmail.com \
    --cc=armbru@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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.