Found bug in main. buf2 is overflowing b/c of added text. The assert is
succeeding for some reason.