David Relson <relson at osagesoftware.com> writes: > Matt, > > Looking at the code, it appears that input buffers weren't being NUL > terminated, which could result in the code doing bad things. The > patch below works on your sample mailbox. Give it a try on > something bigger :-) This fixed the problem, thanks!