[X2Go-Commits] [x2goclient] 127/217: pulsemanager.cpp: re-initialize buffer string on each run while getting CWD on Linux.

2016-09-20 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 336b6cbed53207d84b1e34cf5077b3c053624a58
Author: Mihai Moldovan 
Date:   Wed Dec 30 21:37:22 2015 +0100

pulsemanager.cpp: re-initialize buffer string on each run while getting CWD 
on Linux.
---
 debian/changelog |2 ++
 src/pulsemanager.cpp |1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7fa4f7b..c014ccc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -212,6 +212,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
   them right away.
 - pulsemanager.{cpp,h}: new member function fetch_pulseaudio_version ()
   with first skeleton. Call it in the constructor.
+- pulsemanager.cpp: re-initialize buffer string on each run while getting
+  CWD on Linux.
 
  -- X2Go Release Manager   Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index ade1ec6..06ef766 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -72,6 +72,7 @@ PulseManager::PulseManager () : pulse_X2Go_ ("/.x2go/pulse"),
   abort ();
 }
 
+memset (buf, 0, path_len);
 ptr = getcwd (buf, path_len);
 
 if ((NULL == ptr) && (ERANGE != erange)) {

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits


[X2Go-Commits] [x2goclient] 127/217: pulsemanager.cpp: re-initialize buffer string on each run while getting CWD on Linux.

2016-08-27 Thread git-admin
This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 1842f97884ef808794bad49a3fcdf494d7b50f41
Author: Mihai Moldovan 
Date:   Wed Dec 30 21:37:22 2015 +0100

pulsemanager.cpp: re-initialize buffer string on each run while getting CWD 
on Linux.
---
 debian/changelog |2 ++
 src/pulsemanager.cpp |1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 32389b1..96adeb6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -245,6 +245,8 @@ x2goclient (4.0.5.2-0x2go1) UNRELEASED; urgency=medium
   them right away.
 - pulsemanager.{cpp,h}: new member function fetch_pulseaudio_version ()
   with first skeleton. Call it in the constructor.
+- pulsemanager.cpp: re-initialize buffer string on each run while getting
+  CWD on Linux.
   * debian/control:
 - Maintainer change in package: X2Go Developers .
 - Uploaders: add myself. Also, force a rebuild due to the changed
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index ade1ec6..06ef766 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -72,6 +72,7 @@ PulseManager::PulseManager () : pulse_X2Go_ ("/.x2go/pulse"),
   abort ();
 }
 
+memset (buf, 0, path_len);
 ptr = getcwd (buf, path_len);
 
 if ((NULL == ptr) && (ERANGE != erange)) {

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goclient.git
___
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits