for ticket:438, reported by Coverity git-svn-id: http://svn.annodex.net/liboggz/trunk@3789 8158c8cd-e7e1-0310-9fa4-c5954c97daef