Commits


fix a case of use-after-free in parser_set_buf p->buf and buf almost always overlap. This means that once we free(p->buf), buf becomes invalid. It probably never crashed on memcpy since because the buffer is almost always quite small.


move some parser utils to its own file