trafgen: Replace variable length arrays
commitb91143ff4258957189331cf63c2e58cace471614
authorTobias Klauser <tklauser@distanz.ch>
Mon, 1 Sep 2014 14:11:34 +0000 (1 16:11 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 1 Sep 2014 14:11:34 +0000 (1 16:11 +0200)
tree69bf95058dd1a18079e761dc29c2cdae77490bd8
parent03f5d65f039bcccfcb8f8aeba14876e308e68dce
trafgen: Replace variable length arrays

Use zmalloc()'ed buffer or statically sized array to replace usage of
variable sized arrays. Found by the sparse static checker.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen.c