freebsd-dev/usr.sbin/ypldap
Konstantin Belousov 6b462d2762 Increase YPMAXRECORD to 16M to be compatible with Linux.
Since YP protocol definition uses the constant to declare
variable-size opaque byte strings, the change should be binary
compatible with existing installations which do not expose keys or
values larger than 1024 bytes.

All uses of local variables with YPMAXRECORD sizes were removed to
avoid insane stack use.  On the other hand, variables with static
lifetime should be fine and only result in increased VA use.

Glibc made same change, increasing the allowed length for keys and
values in YP to 16M, in 2013.

Reviewed by:	markj
Discussed with:	ian
Sponsored by:	Mellanox Technologies
MFC after:	3 weeks
Differential revision:	https://reviews.freebsd.org/D20900
2019-08-12 20:27:33 +00:00
..
aldap.c Simplify parseval() by allocating a buffer the size of the input string, 2017-05-26 03:27:06 +00:00
aldap.h
ber.c Fix Coverity CIDs 1340544 Resource leak and 1340543 Use after free 2016-05-25 01:37:25 +00:00
ber.h
entries.c Log when we have finished pushing users and groups. 2017-08-01 05:26:20 +00:00
ldapclient.c Use memset(3) instead of bzero(3). 2016-12-02 06:07:27 +00:00
log.c
Makefile Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-03-01 04:18:28 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
parse.y Do not allow whitespace in macro names. 2016-07-11 03:34:32 +00:00
yp.c Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypldap_dns.c Use memset(3) instead of bzero(3). 2016-12-02 06:07:27 +00:00
ypldap.8 Bump date in both manpages. 2016-06-07 07:04:05 +00:00
ypldap.c Use memset(3) instead of bzero(3). 2016-12-02 06:07:27 +00:00
ypldap.conf.5
ypldap.h