Home | History | Annotate | Download | only in net
History log of /src/lib/libc/net/base64.c
RevisionDateAuthorComments
 1.17  20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.16  24-Nov-2014  christos knf, no functional change.
 1.15  24-Nov-2014  christos Don't read past the end when the data is exactly the right size. Reported
by tedu @ openbsd in tech-userlevel. Thanks!
 1.14  25-Jun-2012  abs branches: 1.14.10;
Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
 1.13  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.12  12-Apr-2009  christos branches: 1.12.6;
merge libbind and bump.
 1.11  21-Jun-2008  christos branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.14;
updates from bind-9-5-0
 1.10  30-Mar-2007  ghen branches: 1.10.12;
Resolve conflicts.
 1.9  27-Jan-2007  christos merge in resolver portion of bind-9.4.0-rc2
 1.8  11-Nov-2002  thorpej branches: 1.8.16; 1.8.18;
Fix signed/unsigned comparison warnings.
 1.7  07-Jul-2000  itohy branches: 1.7.2;
Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems. On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems. However, we leave the isascii()
untouched for now, so as not to change the current behavior.
 1.6  20-Sep-1999  lukem back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
 1.5  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.4  13-Nov-1998  christos delint
 1.3  13-Jul-1997  christos Fix RCSID's
Fix gcc warnings
Add missing prototypes
Use "namespace.h"
 1.2  13-Apr-1997  mrg merge in the bind 4.9.5-P1 resolver. we are now _mostly_ the
same as this, with our changes also included (resolv.conf and
other minor differences).
 1.1  13-Apr-1997  mrg branches: 1.1.1;
Initial revision
 1.1.1.4  12-Apr-2009  christos libc portion of libbind from external/bsd/libbind
 1.1.1.3  30-Mar-2007  ghen Import bind 9.4.0.
 1.1.1.2  27-Jan-2007  christos add base64.c
 1.1.1.1  13-Apr-1997  mrg BIND 4.9.5-P1 resolver bits we use
 1.7.2.1  11-Nov-2002  nathanw Catch up to -current
 1.8.18.1  03-Jun-2007  wrstuden Catch up with now-somewhat-dated netbsd-4. These changes took longer
than expected for me to actually get around to merging.
 1.8.16.2  17-May-2007  jdc Add missing BIND 9.4.x include file and library changes (requested by
tron in ticket #662).
 1.8.16.1  17-May-2007  jdc Update BIND to version 9.4.1 (requested by christos in ticket #602).
Thanks to tron for the patches, upgrade script and testing.
 1.10.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.11.14.1  09-Jan-2011  riz Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.
 1.11.10.1  10-Jan-2011  riz Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.
 1.11.8.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.11.6.2  21-Jun-2008  christos updates from bind-9-5-0
 1.11.6.1  21-Jun-2008  christos file base64.c was added on branch christos-time_t on 2008-06-21 20:41:49 +0000
 1.11.4.1  06-Jan-2011  riz Apply patches (requested by spz in ticket #1517):

Update bind to 9.7.2-P3.
 1.12.6.2  30-Oct-2012  yamt sync with head
 1.12.6.1  17-Apr-2012  yamt sync with head
 1.14.10.1  25-Nov-2014  martin Pull up following revision(s) (requested by christos in ticket #264):
lib/libc/net/base64.c: revision 1.15
lib/libc/net/base64.c: revision 1.16
Don't read past the end when the data is exactly the right size. Reported
by tedu @ openbsd in tech-userlevel. Thanks!
knf, no functional change.

RSS XML Feed