This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 3ae95bce513bc8a441428198c606bbc1be4864f6 Author: Mihai Moldovan <ionic@ionic.de> Date: Wed May 22 20:53:45 2019 +0200 src/x2goclient.cpp: fix array length calculation. --- debian/changelog | 1 + src/x2goclient.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 341900c..0969312 100644 --- a/debian/changelog +++ b/debian/changelog @@ -64,6 +64,7 @@ x2goclient (4.1.2.2-0x2go1) UNRELEASED; urgency=medium ships a pre-release version of 0.8.0, which is tagged as that version, but really based upon 0.7.x and still has/needs a libssh_threads library. Big "Wat?" to you, Canonical. + - src/x2goclient.cpp: fix array length calculation. * debian/control: + Add build-depend on pkg-config. * x2goclient.spec: diff --git a/src/x2goclient.cpp b/src/x2goclient.cpp index 45fa075..bd5fc82 100644 --- a/src/x2goclient.cpp +++ b/src/x2goclient.cpp @@ -136,7 +136,7 @@ int main (int argc, char **argv) { /* Scan for flags bypassing the unix helper. */ if (!(bypass_unix_helper)) { - for (std::size_t y = 0; y < sizeof (bypass_flags); ++y) { + for (std::size_t y = 0; y < (sizeof (bypass_flags) / sizeof (*bypass_flags)); ++y) { if (0 == cur_arg.compare (bypass_flags[y])) { bypass_unix_helper = 1; } -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git