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

Collapse All | Expand All

(-)readconf.c (-1 / +3 lines)
Lines 1705-1711 read_config_file_depth(const char *filen Link Here
1705
    int flags, int *activep, int depth)
1705
    int flags, int *activep, int depth)
1706
{
1706
{
1707
	FILE *f;
1707
	FILE *f;
1708
	char line[1024];
1708
	char line[4096];
1709
	int linenum;
1709
	int linenum;
1710
	int bad_options = 0;
1710
	int bad_options = 0;
1711
1711
Lines 1735-1740 read_config_file_depth(const char *filen Link Here
1735
	while (fgets(line, sizeof(line), f)) {
1735
	while (fgets(line, sizeof(line), f)) {
1736
		/* Update line number counter. */
1736
		/* Update line number counter. */
1737
		linenum++;
1737
		linenum++;
1738
		if (strlen(line) == sizeof(line) - 1)
1739
			fatal("%s line %d too long", filename, linenum);
1738
		if (process_config_line_depth(options, pw, host, original_host,
1740
		if (process_config_line_depth(options, pw, host, original_host,
1739
		    line, filename, linenum, activep, flags, depth) != 0)
1741
		    line, filename, linenum, activep, flags, depth) != 0)
1740
			bad_options++;
1742
			bad_options++;

Return to bug 2651