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

Collapse All | Expand All

(-)locate/fastfind.c (+2 lines)
Lines 216-221 Link Here
216
			count += c - OFFSET;
216
			count += c - OFFSET;
217
		}
217
		}
218
218
219
		if (count < 0 || count >= MAXPATHLEN)
220
			errx(1, "corrupted database: %s", database);
219
		/* overlay old path */
221
		/* overlay old path */
220
		p = path + count;
222
		p = path + count;
221
		foundchar = p - 1;
223
		foundchar = p - 1;

Return to bug 32686