http://plf.zarb.org/bugzilla/show_bug.cgi?id=211

           Summary: FCEU State Crashing patch.
           Product: fceu
           Version: 0.98.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Saving states is susecptable to an fceu "off by one" bug.

IRC chatter:

<qeed> hmm fceuss_savefp isnt that big of a function
<qeed> let me take a whack at it
<qeed> Zombie: still there?
<qeed> heh this is the problem
<qeed> memset(header+4,0,13);
<qeed> header is a 16 byte array
<qeed> change header+4 to header+3
<qeed> its in state.c
<Zombie> so, memset(header+3,0,13);
<Zombie> Like that?
<qeed> yeah
<qeed> heh, i cant believe gcc barf at a off by one
<qeed> though i guess thats goo


I already made a patch for this and it works.


-- 
Configure bugmail: http://plf.zarb.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
PLF-discuss mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-discuss

Reply via email to