benchmarks: Fix potential stack corruption in capsnego test
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 11 Jul 2016 13:15:49 +0000 (18:45 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 11 Jul 2016 13:18:21 +0000 (14:18 +0100)
commit6e01d03d90a146b3b9c9af7603b27233da2bf04d
tree3be98c77bb296d43ee05b64c40620fa541458b03
parent59885c2a92da3b53a477bfc788933941386fabda
benchmarks: Fix potential stack corruption in capsnego test

flavour_str is a non-const pointer that will be written to if the -f
option is passed
tests/benchmarks/capsnego.c