Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-05-27T19:43:48-07:00
Push Date: 2011/05/27 19:44:49 -0700
Repository: mythtv
Branch: new-logging
New Revision: 14fc37de7a60cc8703528542910eec5a2f073a44
Changeset: https://github.com/MythTV/mythtv/commit/14fc37de7
Log:
Initialize the MythUIImage filename correctly
Fixes #9634. Fixes #9708. Refs #9547.
If the filename does not start with "/", "http://", "https://" or "ftp://", then
the actual filename loaded is uninitialized. It can be any random crap on the
stack. I'm honestly surprised this worked at all :)
This may fix things for #9547 as well, and should be tested with that
scenario too.
(cherry picked from commit 2c7735e7f80b5d2737d2bc8c4e9144f3e42da2e7)
Modified:
mythtv/libs/libmythui/mythuiimage.cpp