qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] Misc small fixes in cmd.c
@ 2011-10-31 18:53 Pavel Borzenkov
  2011-10-31 18:53 ` [Qemu-devel] [PATCH v2 1/3] cmd: Fix coding style " Pavel Borzenkov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Pavel Borzenkov @ 2011-10-31 18:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: armbru

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(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-01  9:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-31 18:53 [Qemu-devel] [PATCH v2 0/3] Misc small fixes in cmd.c Pavel Borzenkov
2011-10-31 18:53 ` [Qemu-devel] [PATCH v2 1/3] cmd: Fix coding style " 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

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).