CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/08/07 15:06:39

Modified files:
        usr.sbin/ypldap: ldapclient.c ypldap.c ypldap.h ypldap_dns.c 

Log message:
Improve imsg code, switch to imsgbuf_get and use more imsg_get_data

Switch the IMSG_HOST_DNS call to use imsg_add_strbuf and imsg_get_strbuf.
Also use NI_MAXHOST for the name length.
Also rework IMSG_PW_ENTRY and IMSG_GRP_ENTRY to use imsg_get_len()
and imsg_get_data() to fetch the record. Ensure that the data length
is large enough but not too large to fit into &ir.

ok jmatthew@

Reply via email to