[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, patches, updated. upstream/0.9.7-2-gc8c7a26

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Sat Nov 3 20:14:46 UTC 2007


The branch, patches has been updated
       via  c8c7a262a5a53ce1e8edbd5cca00b087d7e95d76 (commit)
      from  4c1844dbd5fdd8128fc609764ecd7ef09a6a04ef (commit)


- Shortlog ------------------------------------------------------------
c8c7a26 Fix pa_readlink to put a \0 in the right location

Summary of changes:
 src/pulsecore/core-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit c8c7a262a5a53ce1e8edbd5cca00b087d7e95d76
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Sat Nov 3 21:13:38 2007 +0100

    Fix pa_readlink to put a \0 in the right location

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;
         }
 

-- 
pulseaudio packaging



More information about the Pkg-pulseaudio-devel mailing list