id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,game 2387,SCUMM: Bad memory access in filename substitution,eriktorbjorn,cyxx,"{{{#!Markdown This happens in the latest CVS snapshot, at least, and has been happening for a while. In some cases, the generateSubstResFileName\_\(\) is called with 'filename' being an empty string. In this case, it will be accessing filename\[-1\], which could be bad. I'm not sure exactly when this happens - I'm filing this just so that Eugene won't forget about it - but I'll give two examples of games where it happens for me: \* Monkey Island 1, data files monkey1.000 and monkey1.001. To run this, I use a ""monkey1"" target. \* The FM-Towns Fate of Atlantis demo. To run this, I use a ""atlantisa"" target. }}} {{{#!div style=""font-size: 75%"" Ticket imported from: !#1368343. Ticket imported from: bugs/2387. }}}",defect,closed,high,Engine: SCUMM,,,,,