Package: pptpd
Version: 1.3.4

After upgrading from 1.3.4-3 to 1.3.4-4 the pppdctrl was unable to start pppd:

May 3 15:20:00 milk pptpd[12289]: CTRL: Starting call (launching pppd, opening GRE)
May  3 15:20:00 milk pptpd[12289]: CTRL: pty_fd = 6
May  3 15:20:00 milk pptpd[12289]: CTRL: tty_fd = 7
May  3 15:20:00 milk pptpd[12289]: CTRL: I wrote 32 bytes to the client.
May  3 15:20:00 milk pptpd[12289]: CTRL: Sent packet to client
May 3 15:20:00 milk pptpd[12290]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd May 3 15:20:00 milk pptpd[12290]: CTRL (PPPD Launcher): local address = 172.16.255.1 May 3 15:20:00 milk pptpd[12290]: CTRL (PPPD Launcher): remote address = 172.16.255.101
May  3 15:20:00 milk pppd[12290]: unrecognized option ''
May 3 15:20:00 milk pptpd[12289]: GRE: read(fd=6,buffer=610ec0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs May 3 15:20:00 milk pptpd[12289]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May  3 15:20:00 milk pptpd[12289]: CTRL: Reaping child PPP[12290]
May 3 15:20:00 milk pptpd[12289]: CTRL: Client 178.202.56.195 control connection finished
May  3 15:20:00 milk pptpd[12289]: CTRL: Exiting now
May  3 15:20:00 milk pptpd[9929]: MGR: Reaped child 12289

Feature "remotenumber" added from bug #610375 extended pppd_argv but did not
extended the variable size itself. When all options like ipparam are used,
the pppd_argv get's corrupted.

This patch solves the problem:
----- pptpd.pppd_argv.fixup.patch ----------------------
--- pptpd-1.3.4.orig/pptpctrl.c    2006-12-08 01:01:40.000000000 +0100
+++ pptpd-1.3.4/pptpctrl.c    2011-05-03 15:52:32.000000000 +0200
@@ -657,7 +657,7 @@
  */
 static void launch_pppd(char **pppaddrs, struct in_addr *inetaddrs)
 {
-    char *pppd_argv[14];
+    char *pppd_argv[16];
     int an = 0;
     sigset_t sigs;

---------------------------------------------------------------------

Kind regards

Michael Poetters



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