change: buf_strnset will check string pointer and length of arguments
fix: conditional expression on _buf_strudec2uint.