Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 67253 | Differences between
and this patch

Collapse All | Expand All

(-)src/quote_fmt_parse.y (-3 / +9 lines)
Lines 202-210 Link Here
202
	}
202
	}
203
	| string CHARACTER
203
	| string CHARACTER
204
	{
204
	{
205
		strcpy($$, $1);
205
		int len;
206
		$$[strlen($$) + 1] = '\0';
206
		
207
		$$[strlen($$)] = $2;
207
		strncpy2($$, $1, sizeof($$));
208
		len = strlen($$);
209
		if (len + 1 < sizeof($$)) {
210
			$$[len + 1] = '\0';
211
			$$[len] = $2;
212
		}
213
		$$[sizeof($$) - 1] = '\0';
208
	};
214
	};
209
215
210
special:
216
special:

Return to bug 67253