Use getline instead of fgetln, correct a crash found by afl-fuzz, correct an endless loop found by afl-fuzz.
Use getline instead of fgetln, correct a crash found by afl-fuzz, correct
an endless loop found by afl-fuzz.

kristapsdz/sqlite2mdoc