Snippets for openldap 2.6.13 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/flfdv41aymlrmwycywifs5nh695n590r-openldap-2.6.13.drv.
-
os-local.c:139:23: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | (void)read(s, &ch, 1); | ^~~~~~~~~~~~~~~ -
constraint.c:319:98: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 216 [-Wformat-truncation=] 319 | "%s %s: Illegal regular expression \"%s\": Error %s", | ^~ 320 | c->argv[0], c->argv[1], c->argv[3], errmsg); | ~~~~~~ -
homedir.c:1301:33: warning: '%06lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] 1301 | snprintf( tar->uid, 8, "%06lo ", (long)st->st_uid ); | ^~~~~ -
homedir.c:1302:33: warning: '%06lo' directive output may be truncated writing between 6 and 11 bytes into a region of size 8 [-Wformat-truncation=] 1302 | snprintf( tar->gid, 8, "%06lo ", (long)st->st_gid ); | ^~~~~ -
ppolicy.c:1575:95: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1575 | snprintf( timestamp_usec.bv_val + timestamp_usec.bv_len-1, sizeof(".123456Z"), ".%06dZ", now_usec.tt_nsec / 1000 ); | ^ -
config.c:886:68: warning: '%s' directive output may be truncated writing up to 4123 bytes into a region of size 256 [-Wformat-truncation=] 886 | snprintf( c->cr_msg, sizeof( c->cr_msg ), "%s: invalid path: %s", | ^~ -
monitor.c:487:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | getcwd( path, sizeof( path ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
main.c:858:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 858 | write( waitfds[1], "1", 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
aclparse.c:173:77: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 173 | "regular expression \"%s\" bad because of %s", pat, error); | ^~ ~~~~~ -
aclparse.c:534:113: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 534 | "regular expression \"%s\" bad because of %s", | ^~ 535 | right, err ); | ~~~ -
aclparse.c:675:97: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 675 | "regular expression \"%s\" bad because of %s", | ^~ 676 | right, err ); | ~~~ -
slapd-mtread.c:128:50: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size between 8168 and 8178 [-Wformat-truncation=] 128 | snprintf(thrstr, BUFSIZ, "tidx: %d says: %s", idx, string); | ^~ -
slapd-mtread.c:268:61: warning: '%s' directive argument is null [-Wformat-truncation=] 268 | snprintf(outstr, BUFSIZ, "MT Test Start: conns: %d (%s)", noconns, uri); | ^~ -
slapd-mtread.c:128:50: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 8177 [-Wformat-truncation=] 128 | snprintf(thrstr, BUFSIZ, "tidx: %d says: %s", idx, string); | ^~ -
slapd-totp.c:367:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 367 | HMAC_setup(ctx, key->mv_val, key->mv_len, hash); | ^~~~~~~~~~ -
slapd-totp.c:367:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 367 | HMAC_setup(ctx, key->mv_val, key->mv_len, hash); | ^~~~~~~~~~ -
slapd-totp.c:368:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | HMAC_crunch(ctx, data->mv_val, data->mv_len); | ^~~~~~~~~~~ -
slapd-totp.c:369:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | HMAC_finish(ctx, out->mv_val, digestLen); | ^~~~~~~~~~~ -
slapd-totp.c:369:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | HMAC_finish(ctx, out->mv_val, digestLen); | ^~~~~~~~~~~