[mythtv-commits] Re: Ticket #371: Error with xmame 0.100
MythTV
mythtv at cvs.mythtv.org
Mon Oct 10 07:14:48 UTC 2005
#371: Error with xmame 0.100
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: greg
Type: defect | Status: closed
Priority: critical | Milestone:
Component: mythgame | Version: 0.18.1
Severity: high | Resolution: invalid
-----------------------+----------------------------------------------------
Comment (by anonymous):
Because the (old?) code said:
mamehandler.cpp:677: versionchk_string = (char*)malloc(3);
snprintf(versionchk_string, 3, "%s",
minor);
Which doesn't work for minor versions > 99.
Change 3s to 4s. (Or hack the binary and change the %s to 99...)
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/371>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list