Alex Henrie alexhenrie24@gmail.com writes:
Try 5 adds two tests for the case where srclen < -1 and passes them both.
You are still overflowing the source.
You need to spend more time on this. You also need to split the patch, and write some sort of table-driven tests so you can test a lot more cases, the ones you have are clearly not sufficient.