- Fix format string warnings on ubuntu buildbot
DSOOPT=-shared -fPIC
CFLAGS=@CFLAGS@ -I. -O3 -Wall -Wmissing-prototypes -Wstrict-prototypes -g3 -Wp,-D_FORTIFY_SOURCE=2 \
+ -fstrict-aliasing -Wstrict-aliasing=3 \
-DDEFAULT_LDIF=\"$(datadir)/setup/profiles\" \
-DMAPISTORE_BACKEND_INSTALLDIR=\"$(libdir)/mapistore_backends\" \
-DMAPISTORE_MAPPING_PATH=\"$(prefix)/private/mapistore\"
}
stmp = talloc_strndup(ocpf->mem_ctx, value + len, tmp + 1);
- str = talloc_asprintf_append(str, stmp);
+ str = talloc_asprintf_append(str, "%s", stmp);
if (value[len + tmp + 1] &&
(value[len + tmp + 1] == '\\' || value[len + tmp + 1] == '"')) {
len += tmp + 2;
/* print str */
mapitest_print_tab(mt);
- fprintf(mt->stream, str);
+ fprintf(mt->stream, "%s", str);
/* underline str using delim */
mapitest_print_tab(mt);