all repos — fluxbox @ 17abbcb3a71c232569f1dfcc7c7dcea2318c7a97

custom fork of the fluxbox windowmanager

fixed uninitialized pointer which could lead to segfaults when the user
specifies nonexistent/invalid tool-names in the init-file
mathias mathias
commit

17abbcb3a71c232569f1dfcc7c7dcea2318c7a97

parent

7b2d1c12f2c47242a6297df08a8c5692de216539

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/ToolFactory.ccsrc/ToolFactory.cc

@@ -85,7 +85,7 @@

} ToolbarItem *ToolFactory::create(const std::string &name, const FbTk::FbWindow &parent, Toolbar &tbar) { - ToolbarItem * item; + ToolbarItem * item = 0; unsigned int button_size = 24; if (tbar.theme().buttonSize() > 0)