jordansissel/grok — pull request #18 by rdcastro (2013-10-31 19:55:33+00:00)
Title: Buffer overflow fix as NULL terminator wasn't copied in PCRE invocation.

Adding "+ 1" to allocation includes NULL terminator to avoid buffer overflow
as PCRE library runs strlen on the string and requires the string to be
properly terminated by NULL.