BVLC/caffe — pull request #70 by petewarden (2014-02-05 01:25:30+00:00)
Title: Fix for buffer overflow problem with long filenames when setting up the LevelDB

I had filenames that were longer than the 100 character limit, and they caused the buffer overflow checking code in sprintf() to trigger. Switching to snprintf() with an explicit 256 character limit fixed the problem in my case.