/* skip this domain-uri if it isn't involved */
if ( !ks ) continue;
+ /* terminating NUL */
+ ks++;
+
if ( uri->filter.bv_val && uri->filter.bv_len )
ks += uri->filter.bv_len + STRLENOF ("(&)");
kp = key = op->o_tmpalloc(ks, op->o_tmpmemctx);
/* skip this domain-uri if it isn't involved */
if ( !ks ) continue;
+ /* terminating NUL */
+ ks++;
+
if ( uri->filter.bv_val && uri->filter.bv_len )
ks += uri->filter.bv_len + STRLENOF ("(&)");
kp = key = op->o_tmpalloc(ks, op->o_tmpmemctx);
/* skip this domain if it isn't involved */
if ( !ks ) continue;
+ /* terminating NUL */
+ ks++;
+
if ( uri->filter.bv_val && uri->filter.bv_len )
ks += uri->filter.bv_len + STRLENOF ("(&)");
kp = key = op->o_tmpalloc(ks, op->o_tmpmemctx);