Ugh... is it NULL termiating the buffer? That is mostly undocumented...