Perform bounds checking on buffer given to CVMakeTitles().
Merge pull request #1314 from blipvert/fixes/33

Perform bounds checking on buffer given to CVMakeTitles().