qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/3] Misc small fixes in cmd.c


From: Pavel Borzenkov
Subject: [Qemu-devel] [PATCH v2 0/3] Misc small fixes in cmd.c
Date: Mon, 31 Oct 2011 22:53:35 +0400

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 via email to

[Prev in Thread] Current Thread [Next in Thread]