Package: curl
Version: 7.21.1-1
Severity: important
Tags: patch

Hello,

Since the addition of curl-nss, curl FTBFS on hurd-i386. The patch below
fixes it.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages curl depends on:
ii  libc0.3                 2.11.2-7         Embedded GNU C Library: Shared lib
ii  libcurl3                7.21.1-1         Multi-protocol file transfer libra
ii  libidn11                1.18-1           GNU Libidn library, implementation
ii  libldap-2.4-2           2.4.17-1         OpenLDAP libraries
ii  libssh2-1               1.2.6-1          SSH2 client-side library
ii  libssl0.9.8             0.9.8o-2         SSL shared libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

curl recommends no packages.

curl suggests no packages.

-- no debconf information

--- lib/nss.c.original  2010-12-31 18:51:27.000000000 +0000
+++ lib/nss.c   2010-12-31 18:52:36.000000000 +0000
@@ -1265,7 +1265,8 @@
         entry = PR_ReadDir(dir, PR_SKIP_BOTH | PR_SKIP_HIDDEN);
 
         if(entry) {
-          char fullpath[PATH_MAX];
+          char fullpath[strlen(data->set.ssl.CApath) + 1 +
+                        strlen(entry->name) + 1];
 
           snprintf(fullpath, sizeof(fullpath), "%s/%s", data->set.ssl.CApath,
                    entry->name);



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to