tags 637025 patch
thanks

> Issue 1:
> http://sourceforge.net/tracker/?func=detail&aid=3382925&group_id=8642&atid=308642

> Issue 2:
> http://sourceforge.net/tracker/?func=detail&aid=3381253&group_id=8642&atid=108642

Apparently at some point I uploaded a netatalk backport to a Launchpad
PPA, and people have been asking me to update it. I found the additional
following issue when building it on oneiric:

--- a/libatalk/util/server_ipc.c
+++ b/libatalk/util/server_ipc.c
@@ -129,7 +129,7 @@
     EC_ZERO_LOG( setnonblock(fd, 1) );
     unlink(name);
     address.sun_family = AF_UNIX;
-    address_length = sizeof(address.sun_family) + sprintf(address.sun_path, 
name);
+    address_length = sizeof(address.sun_family) + sprintf(address.sun_path, 
"%s", name);
     EC_ZERO_LOG( bind(fd, (struct sockaddr *)&address, address_length) );
     EC_ZERO_LOG( listen(fd, 1024) );
 
@@ -161,7 +161,7 @@
     EC_NEG1_LOG( fd = socket(PF_UNIX, SOCK_STREAM, 0) );
     EC_ZERO_LOG( setnonblock(fd, 1) );
     address.sun_family = AF_UNIX;
-    address_length = sizeof(address.sun_family) + sprintf(address.sun_path, 
name);
+    address_length = sizeof(address.sun_family) + sprintf(address.sun_path, 
"%s", name);
 
     EC_ZERO_LOG( connect(fd, (struct sockaddr *)&address, address_length) ); 
/* 1 */
     LOG(log_debug, logtype_afpd, "ipc_client_uds: connected to master");

We'd love to squeeze this into the next Ubuntu release. It has just
Feature Frozen, but apparently there are users clamoring for netatalk,
so I'm sure we can get it in, if it hits sid soon.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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