mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
Fix off-by-one error found when running theowl's test cases.
This commit is contained in:
parent
ccfd9e2950
commit
8215a54b21
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user