Home | History | Annotate | Download | only in net
History log of /src/lib/libc/net/linkaddr.c
RevisionDateAuthorComments
 1.23  19-Apr-2022  rillig lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.
 1.22  07-Dec-2016  pgoyette Fix comment: s/ACCD/ADDC/
 1.21  07-Dec-2016  kre Actually guarantee that the returned buffer from link_ntoa() is always
NUL terminated, even when called by malicious/broken applications.
 1.20  07-Dec-2016  christos make it always return a NUL terminated string instead of NULL when the address
is truncated for compatibility with others.
 1.19  07-Dec-2016  christos Add the terminating NUL as a regular character addition.
 1.18  07-Dec-2016  dholland Leave room for the null terminator. Spotted by DuClare on freenode.
 1.17  06-Dec-2016  christos Fix buffer copy without checking the size of input:
https://www.kb.cert.org/vuls/id/548487
 1.16  20-Mar-2012  matt branches: 1.16.14;
Use C89 Prototypes.
Remove use of __P
 1.15  13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.14  29-Nov-2005  christos branches: 1.14.44;
WARNS=4
 1.13  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12  11-Nov-2002  thorpej Fix signed/unsigned comparison warnings.
 1.11  20-Sep-1999  lukem branches: 1.11.10;
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.10  16-Sep-1999  lukem * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
 1.9  13-Nov-1998  christos delint
 1.8  15-Oct-1998  kleink (bcmp(), bcopy(), bzero()) -> (memcmp(), memcpy(), memset())
 1.7  26-Jul-1998  mycroft const poisoning.
 1.6  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings
Add missing prototypes
Use "namespace.h"
 1.5  25-Feb-1995  cgd branches: 1.5.4;
clean up import. also convert everything to new Id format.
 1.4  19-Oct-1994  cgd beware pointer casts.
 1.3  26-Aug-1993  jtc Declare rcsid strings so they are stored in text segment.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  25-Feb-1995  cgd 4.4-Lite lib/libc/net
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.4.1  20-Sep-1996  jtc snapshot namespace cleanup: net, etc.
 1.11.10.1  10-Dec-2002  thorpej Sync with HEAD.
 1.14.44.1  17-Apr-2012  yamt sync with head
 1.16.14.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)

RSS XML Feed