added v2 buffer guard
Merge branch 'master' of github.com:araqne/logdb