When assembling level2v3/cmds/wcreate.asm os9asm would
report 95 errors at the end of assembly. But the errors would not
be identified during the assembly.
The object file would be correctly created.
Somehow Err_count would be set to 95 during the second pass.
When I spilt line 40 (of wcreate.asm) into two smaller lines the
problem dissapeared.
I have no further research.
Anonymous
Logged In: YES
user_id=42881
I cannot duplicate this problem under Linux. Can you
examine it more closely and see what is going on?
Logged In: YES
user_id=212527
OK, I traced the problem to line 128 in util.c.
E_bytes is an array of size E_LIMIT + 60. During the assembly of line 40
of wcreate.adm it overflows.
Does it overflow on other platforms? I suggest increasing the buffer. I
also suggest testing for overflow.
Logged In: YES
user_id=212527
Fixed.