Snippets for openldap 2.6.14 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/main/openldap/openldap-2.6.14-r0.log.
-
memory.c:522:1: warning: function may return address of local variable [-Wreturn-local-addr] 522 | } | ^ -
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 ); | ~~~ -
extended.c:245:27: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | strcpy( rs->sr_text, text ); | ~~^~~~~~~~~ -
extended.c:372:27: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 372 | strcpy( rs->sr_text, text ); | ~~^~~~~~~~~ -
add.c:332:50: warning: too many arguments for format [-Wformat-extra-args] 332 | Debug( LDAP_DEBUG_TRACE, " backsql_modify_internal(): " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
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); | ~~~~~~ -
config.c:518:34: warning: '%s' directive output may be truncated writing up to 4123 bytes into a region of size 256 [-Wformat-truncation=] 518 | "%s: unable to load sql layer", c->log ); | ^~ -
config.c:509:34: warning: '%s' directive output may be truncated writing up to 4123 bytes into a region of size 256 [-Wformat-truncation=] 509 | "%s: trailing values in directive", c->log ); | ^~ -
config.c:481:34: warning: '%s' directive output may be truncated writing up to 4123 bytes into a region of size 256 [-Wformat-truncation=] 481 | "%s: suffix must be set", c->log ); | ^~ -
config.c:416:34: warning: '%s' directive output may be truncated writing up to 4123 bytes into a region of size 256 [-Wformat-truncation=] 416 | "%s: unable to parse pattern \"%s\"", | ^~ -
config.c:870:75: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 870 | "regular expression \"%s\" bad because of %s", | ^~ 871 | pattern, regerr ); | ~~~~~~ -
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", | ^~ -
ppolicy.c:1575:95: warning: 'snprintf' 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:2105:75: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 2105 | "regular expression \"%s\" bad because of %s", | ^~ 2106 | c->argv[1], regerr ); | ~~~~~~ -
config.c:809:75: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 809 | "regular expression \"%s\" bad because of %s", | ^~ 810 | pattern, regerr ); | ~~~~~~ -
meta_result.c:254:39: warning: '%s' directive argument is null [-Wformat-overflow=] 254 | "%s meta_send_entry(\"%s\"): " "slap_bv2undef_ad(%s): %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
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 ); | ^~~~~ -
config.c:2171:75: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 219 [-Wformat-truncation=] 2171 | "regular expression \"%s\" bad because of %s", | ^~ 2172 | c->argv[1], regerr ); | ~~~~~~ -
search.c:1496:60: warning: ' meta_back_search[' directive output may be truncated writing 18 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 1496 | "%s meta_back_search[%ld] " | ^~~~~~~~~~~~~~~~~~ -
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); | ^~ -
mqtt.c:48:32: warning: missing braces around initializer [-Wmissing-braces] 48 | static ConfigTable mqttcfg[] = { | ^ -
mqtt.c:48:32: warning: missing braces around initializer [-Wmissing-braces]
-
mqtt.c:188:47: warning: too many arguments for format [-Wformat-extra-args] 188 | Debug(LDAP_DEBUG_ANY, "mqtt_db_open: unable to find objectClass=\"%s\"\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:203:47: warning: too many arguments for format [-Wformat-extra-args] 203 | Debug(LDAP_DEBUG_ANY, "mqtt_db_config_notify: DN normalization failed for \"%s\": %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:226:33: warning: too many arguments for format [-Wformat-extra-args] 226 | Debug(LDAP_DEBUG_TRACE, "mqtt_send_notify: pub on topic '%s'\n", n->topic, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:236:33: warning: too many arguments for format [-Wformat-extra-args] 236 | Debug(LDAP_DEBUG_TRACE, "mqtt_on_connect: connected with status %d\n", rc, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:249:33: warning: too many arguments for format [-Wformat-extra-args] 249 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_init: initialize overlay\n", 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:260:33: warning: too many arguments for format [-Wformat-extra-args] 260 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_destroy: destroy overlay\n", 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:278:33: warning: too many arguments for format [-Wformat-extra-args] 278 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_open, id='%s'\n", id, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:297:33: warning: too many arguments for format [-Wformat-extra-args] 297 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_close\n", 0, 0, 0); | ^~~~~~~~~~~~~~~~~