diff options
author | 2015-11-15 19:27:57 +0200 | |
---|---|---|
committer | 2015-12-06 09:30:37 -0800 | |
commit | d48a67725980629aa99b2ebdac734a0f0118e5ab (patch) | |
tree | e70b50b50a64efc8ff17088432875a1895443318 /subsurfacestartup.c | |
parent | 8daf6128f61fd52516c14e1bb2a64b4047f1daf4 (diff) | |
download | subsurface-d48a67725980629aa99b2ebdac734a0f0118e5ab.tar.gz |
planner.c: fix 'disclaimer' pointing to stack memory
In add_plan_to_notes() the 'disclaimer' is set to the temporary
buffer 'buf'. By making 'buf' static, 'disclaimer' now points to a
persistent buffer.
Bug was reported as bad characters when printing the planner
deco text.
Reported-by: Stefan Fuchs <sfuchs@gmx.de>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
0 files changed, 0 insertions, 0 deletions