History log of /openbsd/usr.sbin/pppd/options.c (Results 1 – 25 of 33)
Revision Date Author Comments
# baba1a14 21-Aug-2024 florian <florian@openbsd.org>

Mechanically change inet_aton to inet_pton.

This could use getaddrinfo in places but the code is just too crufty
and my joo janta's turned black immediately.

OK deraadt


# 7a7a726b 10-Aug-2024 jsg <jsg@openbsd.org>

use void when functions have no args
ok deraadt@


# 6798d9df 09-Aug-2024 deraadt <deraadt@openbsd.org>

ansi functions and prototypes
ok denis


# 3a50f0a9 28-Dec-2022 jmc <jmc@openbsd.org>

spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech


# dab586c4 06-Dec-2015 tobias <tobias@openbsd.org>

Use __progname instead of manually handling argv[0].

ok deraadt, mmcc, tedu


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

show more ...


# e1b9311f 10-Dec-2014 jsg <jsg@openbsd.org>

Fix a potential integer overflow in pppd options file parsing.
From Paul Mackerras in 7658e8257183f062dc01f87969c140707c7e52cb
This issue is CVE-2014-3158.


# 390b7edb 27-Oct-2013 guenther <guenther@openbsd.org>

If a constant string needs a name, use a static const array instead of a
pointer or non-const array, as that minimizes the symbols, maximizes the
placement into read-only memory, and avoids warnings

If a constant string needs a name, use a static const array instead of a
pointer or non-const array, as that minimizes the symbols, maximizes the
placement into read-only memory, and avoids warnings from gcc -Wformat=2
when they're used as format strings.

ok deraadt@

show more ...


# 4dc62fc8 02-Oct-2011 nicm <nicm@openbsd.org>

Delete unused variables, from Michael W Bombardieri.


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

show more ...


# c87a726c 17-Oct-2007 chl <chl@openbsd.org>

remove "unused variable" warnings

tested by deraadt@ on a gcc2 arch

looks ok ray@ ok deraadt@


# c454d3c2 04-Jun-2007 henning <henning@openbsd.org>

bye bye ipx


# 5d45792e 06-Mar-2007 ray <ray@openbsd.org>

Remove code that's been commented out since '96.

From Charles Longeau.

OK millert@.


# 4ceeca4c 25-Jan-2006 moritz <moritz@openbsd.org>

Fix an off-by-one in pppd(8)'s option handling. ok tedu@


# 831cf0bf 04-Apr-2003 deraadt <deraadt@openbsd.org>

strlcpy and snprintf; various people ok


# 689db479 23-Dec-2002 mickey <mickey@openbsd.org>

avoid null deref in calling option_erro(); pt out by hunter@comsys.com.ua


# 842cf550 01-Jul-2002 deraadt <deraadt@openbsd.org>

license update of CMU parts. due to communication with wcw+@andrew.cmu.edu,
pushed for by tygs@netcologne.de. Apparently we also now known how to talk
to the lawyers there, if we were so mad. Note

license update of CMU parts. due to communication with wcw+@andrew.cmu.edu,
pushed for by tygs@netcologne.de. Apparently we also now known how to talk
to the lawyers there, if we were so mad. Note that a few other copyright
issues in pppd still remain, so this does not close this story.

show more ...


# e7beb4a7 19-Feb-2002 millert <millert@openbsd.org>

We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 5eccd279 09-Jul-2001 pjanzen <pjanzen@openbsd.org>

remove extraneous braces


# 58b3ba72 23-Jun-2001 lebel <lebel@openbsd.org>

use strlcpy vs strncpy+a[len-1]='\0'


# a3adf44f 08-May-1998 millert <millert@openbsd.org>

pppd 2.3.5


# 694a077d 17-Jan-1998 millert <millert@openbsd.org>

ppp-2.3.3 + some -Wall


# 17b3de34 25-Oct-1997 millert <millert@openbsd.org>

Set CLOCAL for chat script by default. Add new option "modem_chat"
to override the default for people using cua devices who want chat
to detect loss of carrier.


# ba05f447 05-Sep-1997 millert <millert@openbsd.org>

ppp 2.3.1


12