[Commits] [wesnoth/wesnoth] 49e3d2: gui2/tunit_create: Prevent null pointer dereferenc...

GitHub noreply at github.com
Tue Oct 20 02:12:33 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 49e3d20e7bfece7d7139a53a97e2ee2efe394e8c
      https://github.com/wesnoth/wesnoth/commit/49e3d20e7bfece7d7139a53a97e2ee2efe394e8c
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M src/gui/dialogs/unit_create.cpp

  Log Message:
  -----------
  gui2/tunit_create: Prevent null pointer dereferences

One code path in particular assumed that resources::controller is never
a null pointer, thus breaking unit tests.





More information about the Commits mailing list