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 |
||
---|---|---|
.. | ||
aldap.c | ||
aldap.h | ||
ber.c | ||
ber.h | ||
entries.c | ||
ldapclient.c | ||
log.c | ||
Makefile | ||
Makefile.depend | ||
parse.y | ||
yp.c | ||
ypldap_dns.c | ||
ypldap.8 | ||
ypldap.c | ||
ypldap.conf.5 | ||
ypldap.h |