char_buf bug found
char_buf bugfix (@TODO parameter)