Modified the EFread routine so that it will not infinite loop on

a truncated line.  There is still a question as to why an example
occurred that caused a line to be truncated, and whether a buffer
size needs to be made larger or made dynamically allocated.
This commit is contained in:
Tim Edwards 2020-06-03 20:36:12 -04:00
parent 01966d594e
commit efe6af8465
1 changed files with 1 additions and 1 deletions

View File

@ -756,7 +756,7 @@ start:
argc++;
}
if (argc == 0)
if ((argc == 0) && (size > 0))
goto start;
return (argc);