qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] Net patches
@ 2014-11-18 15:04 Stefan Hajnoczi
  2014-11-18 15:04 ` [Qemu-devel] [PULL] net: The third parameter of getsockname should be initialized Stefan Hajnoczi
  2014-11-18 17:35 ` [Qemu-devel] [PULL] Net patches Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2014-11-18 15:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, Stefan Hajnoczi

The following changes since commit 1aba4be97eb01b650d146c7f01dc961d55da62ab:

  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2014-11-17 17:22:03 +0000)

are available in the git repository at:

  git://github.com/stefanha/qemu.git tags/net-pull-request

for you to fetch changes up to ed6273e26fdfb94a282dbbf1234a75422c6b4c4b:

  net: The third parameter of getsockname should be initialized (2014-11-18 15:04:35 +0000)

----------------------------------------------------------------

----------------------------------------------------------------

zhanghailiang (1):
  net: The third parameter of getsockname should be initialized

 net/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.1.0

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

* [Qemu-devel] [PULL] net: The third parameter of getsockname should be initialized
  2014-11-18 15:04 [Qemu-devel] [PULL] Net patches Stefan Hajnoczi
@ 2014-11-18 15:04 ` Stefan Hajnoczi
  2014-11-18 17:35 ` [Qemu-devel] [PULL] Net patches Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2014-11-18 15:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Peter Maydell, zhanghailiang, Stefan Hajnoczi

From: zhanghailiang <zhang.zhanghailiang@huawei.com>

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 net/socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/socket.c b/net/socket.c
index fb21e20..ca4b8ba 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -352,7 +352,7 @@ static NetSocketState *net_socket_fd_init_dgram(NetClientState *peer,
 {
     struct sockaddr_in saddr;
     int newfd;
-    socklen_t saddr_len;
+    socklen_t saddr_len = sizeof(saddr);
     NetClientState *nc;
     NetSocketState *s;
 
-- 
2.1.0

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

* Re: [Qemu-devel] [PULL] Net patches
  2014-11-18 15:04 [Qemu-devel] [PULL] Net patches Stefan Hajnoczi
  2014-11-18 15:04 ` [Qemu-devel] [PULL] net: The third parameter of getsockname should be initialized Stefan Hajnoczi
@ 2014-11-18 17:35 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2014-11-18 17:35 UTC (permalink / raw)
  To: Stefan Hajnoczi; +Cc: QEMU Developers

On 18 November 2014 15:04, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> The following changes since commit 1aba4be97eb01b650d146c7f01dc961d55da62ab:
>
>   Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2014-11-17 17:22:03 +0000)
>
> are available in the git repository at:
>
>   git://github.com/stefanha/qemu.git tags/net-pull-request
>
> for you to fetch changes up to ed6273e26fdfb94a282dbbf1234a75422c6b4c4b:
>
>   net: The third parameter of getsockname should be initialized (2014-11-18 15:04:35 +0000)
>
> ----------------------------------------------------------------
>
> ----------------------------------------------------------------
Applied, thanks.

-- PMM

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

end of thread, other threads:[~2014-11-18 17:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-18 15:04 [Qemu-devel] [PULL] Net patches Stefan Hajnoczi
2014-11-18 15:04 ` [Qemu-devel] [PULL] net: The third parameter of getsockname should be initialized Stefan Hajnoczi
2014-11-18 17:35 ` [Qemu-devel] [PULL] Net patches Peter Maydell

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