found and properly fixed the buffer overrun problem in yang parser