Bug 129042 - net/poptop Segmentation fault () from use options [-h] [--help]
net/poptop Segmentation fault () from use options [-h] [--help]
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Emanuel Haupt
Depends on:
  Show dependency treegraph
Reported: 2008-11-21 09:20 UTC by zlopi.ru
Modified: 2008-11-27 22:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description zlopi.ru 2008-11-21 09:20:02 UTC
pptpd v1.3.4
Usage: pptpd [options], where options are:

 [-c] [--conf file]        Specifies the config file to read default
                           settings from (default is /usr/local/etc/pptpd.conf).
 [-d] [--debug]            Turns on debugging (to syslog).
 [-e] [--ppp file]         Use alternate pppd binary, default /usr/sbin/ppp.
 [-f] [--fg]               Run in foreground.
 [-h] [--help]             Displays this help message.
 [-i] [--noipparam]        Suppress the passing of the client's IP address
                           to PPP, which is done by default otherwise.
 [-l] [--listen x.x.x.x]   Specifies IP of local interface to listen to.
 [-p] [--pidfile file]     Specifies the file to write the process ID to
                           (default is /var/run/pptpd.pid).
 [-t] [--stimeout seconds] Specifies the timeout for the first packet. This is a DOS protection
Segmentation fault ()



-       printf("                           (default is %s).\n",STIMEOUT_DEFAULT);
+       printf("                           (default is %d).\n",STIMEOUT_DEFAULT);
How-To-Repeat: pptpd --help
Comment 1 Emanuel Haupt freebsd_committer 2008-11-27 21:00:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ehaupt

I will take care of it.
Comment 2 dfilter freebsd_committer 2008-11-27 22:37:00 UTC
ehaupt      2008-11-27 22:36:52 UTC

  FreeBSD ports repository

  Modified files:
    net/poptop           Makefile 
    net/poptop/files     patch-pptpd.c 
  Added files:
    net/poptop/files     patch-plugins_Makefile 
  - Fix a segmentation fault
  - Respect CC and CFLAGS
  PR:             129042
  Submitted by:   zlopi.ru <zlopi.ru@gmail.com>
  Revision  Changes    Path
  1.31      +2 -2      ports/net/poptop/Makefile
  1.1       +16 -0     ports/net/poptop/files/patch-plugins_Makefile (new)
  1.3       +3 -3      ports/net/poptop/files/patch-pptpd.c
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Emanuel Haupt freebsd_committer 2008-11-27 22:37:05 UTC
State Changed
From-To: open->closed

Committed, thanks!