[Commits] [wesnoth/wesnoth] a6ef79: savepng: fix a null pointer dereference

GitHub noreply at github.com
Wed Nov 19 02:31:43 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a6ef798febe7d373e8eba547dfb18661a105cc58
      https://github.com/wesnoth/wesnoth/commit/a6ef798febe7d373e8eba547dfb18661a105cc58
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-18 (Tue, 18 Nov 2014)

  Changed paths:
    M src/SDL_SavePNG/savepng.cpp

  Log Message:
  -----------
  savepng: fix a null pointer dereference

spotted by coverity, also I reproduced it once with command like
`wesnoth --render-image foo.png`





More information about the Commits mailing list