cse15l-lab-reports

The diff for the first fix can be found here
The error message for the first bug is Bug1
The test file that induced an error can be found here
The breaking symptom was java running out of space. The bug was that java would not properly terminate the loop, which would eventually cause it to run out of memory. Since the loop would infinitely run, java would eventually run out of memory and throw the mentioned error. This was due to the program not properly percieving where a file ends.

The diff for the second fix can be found here
The error message for the second bug is
Bug1
The test file that induced the error can be found here.
The breaking symptom was that images were being parsed as links. The cause was that the program wasn’t coded to differentiate the differences between links and images.

The diff for the second fix can be found here
The error message for the third bug is
Bug1
The test file that induced the error can be found here
The symptom was the markdown parser was throwing an index out of bounds error. This was due to the fact that if an element of a link such as [, ], (, ) wasn’t present, then it would still be interpreted as a proper string, and attempt to use -1 as an input for substring, giving an index out of bounds error.