[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, master, updated. debian/0.9.7-1-2-g9d26478

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Sat Nov 3 20:19:28 UTC 2007


The branch, master has been updated
       via  9d264785ff25aba0998464e3e23bdb6323e21e60 (commit)
      from  95adbbc0f20878c1e4e63a41017e963b90721a81 (commit)


- Shortlog ------------------------------------------------------------
9d26478 * debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch:

Summary of changes:
 debian/changelog                                   |    5 +++-
 ...readlink-to-put-a-0-in-the-right-location.patch |   25 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 3 files changed, 30 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 9d264785ff25aba0998464e3e23bdb6323e21e60
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Sat Nov 3 21:18:18 2007 +0100

    * debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch:
      + Added. Fix pa_readlink to put a \0 directly after the link string. Fixes
      issues with clients using the alsa compatibility layer

diff --git a/debian/changelog b/debian/changelog
index 1eaae80..b39e8d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,11 @@ pulseaudio (0.9.7-2) UNRELEASED; urgency=low
 
   * Use pulseaudio (<< 0.9.7) instead of pulseaudio (< 0.9.7) in
     -esound-compat
+  * debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch:
+    + Added. Fix pa_readlink to put a \0 directly after the link string. Fixes
+    issues with clients using the alsa compatibility layer
 
- -- Sjoerd Simons <sjoerd at debian.org>  Wed, 31 Oct 2007 17:17:14 +0100
+ -- Sjoerd Simons <sjoerd at debian.org>  Sat, 03 Nov 2007 21:16:49 +0100
 
 pulseaudio (0.9.7-1) unstable; urgency=low
 
diff --git a/debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch b/debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch
new file mode 100644
index 0000000..18542fc
--- /dev/null
+++ b/debian/patches/0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch
@@ -0,0 +1,25 @@
+From c8c7a262a5a53ce1e8edbd5cca00b087d7e95d76 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd at luon.net>
+Date: Sat, 3 Nov 2007 21:13:38 +0100
+Subject: [PATCH] Fix pa_readlink to put a \0 in the right location
+
+---
+ src/pulsecore/core-util.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
+index b33241a..b2bc5f0 100644
+--- a/src/pulsecore/core-util.c
++++ b/src/pulsecore/core-util.c
+@@ -1523,7 +1523,7 @@ char *pa_readlink(const char *p) {
+         }
+ 
+         if ((size_t) n < l-1) {
+-            c[l-1] = 0;
++            c[n] = 0;
+             return c;
+         }
+ 
+-- 
+1.5.3.5
+
diff --git a/debian/patches/series b/debian/patches/series
index 7102271..d8f5413 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch
+0002-Fix-pa_readlink-to-put-a-0-in-the-right-location.patch

-- 
pulseaudio packaging



More information about the Pkg-pulseaudio-devel mailing list