tokens: Chances are that the string data you are reading from the Registry is not null-terminated , so you end up copying random data from the end of your buffer .
ner_tags: O O O O B-Data_Type O O O O O O O O O B-Value O O O O O O O O O O O O O B-Class O