[Commits] [wesnoth/wesnoth] 2ac434: campaignd: Catch boost::bad_function_call exceptio...

GitHub noreply at github.com
Sat Jun 28 22:33:03 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2ac434dd2caa2214f994a32d0555fb4ab82c1e27
      https://github.com/wesnoth/wesnoth/commit/2ac434dd2caa2214f994a32d0555fb4ab82c1e27
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-06-28 (Sat, 28 Jun 2014)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Catch boost::bad_function_call exception

Isssue found by Coverity.

This exception is thrown if an empty boost::function object is called.
Theoretically should never happen unless the request handlers table
wasn't initialized correctly/was tampered with.





More information about the Commits mailing list