Fix buffer overflow in stackprof_record_sample()
Merge pull request #19 from csfrancis/record_sample_buffer_overflow

Fix buffer overflow in stackprof_record_sample()