View | Details | Raw Unified | Return to bug 270910 | Differences between
and this patch

Collapse All | Expand All

(-)bgpd/bgp_lcommunity.c (-1 / +1 lines)
Lines 211-217 static void set_lcommunity_string(struct lcommunity *l Link Here
211
	}
211
	}
212
212
213
	/* 1 space + lcom->size lcom strings + null terminator */
213
	/* 1 space + lcom->size lcom strings + null terminator */
214
	size_t str_buf_sz = BUFSIZ;
214
	size_t str_buf_sz = BUFSIZ*2;
215
	str_buf = XCALLOC(MTYPE_LCOMMUNITY_STR, str_buf_sz);
215
	str_buf = XCALLOC(MTYPE_LCOMMUNITY_STR, str_buf_sz);
216
216
217
	for (i = 0; i < lcom->size; i++) {
217
	for (i = 0; i < lcom->size; i++) {

Return to bug 270910