Fix off-by-one error found when running theowl's test cases.

This commit is contained in:
H. Peter Anvin 2002-05-26 23:48:09 +00:00
parent ccfd9e2950
commit 8215a54b21

View File

@ -966,7 +966,7 @@ fprintf(stderr, " obj_deflabel: %s, seg=%ld, off=%ld, is_global=%d, %s\n",
eb->next = NULL;
ebtail = &eb->next;
}
while (i > EXT_BLKSIZ) {
while (i >= EXT_BLKSIZ) {
if (eb && eb->next)
eb = eb->next;
else {