Fix a bug in the waterfall backend causing segmentation faults on Linux.

The bug was caused by an uninitialized variable in a buffer used in the
WaterfallBackend which could cause out-of-bounds error.