Change: Buffers to use dynamic memory allocation

Previous style of declaration caused segfaults when large buffer
sizes were used at compile time.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>