View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003168 | FSSCP | sound | public | 2015-07-11 01:20 | 2015-07-11 09:52 |
| Reporter | ngld | Assigned To | m_m | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.7.3 | ||||
| Summary | 0003168: snd_load leaks cfile handles if it can't parse a file. | ||||
| Description | snd_load() returns before closing the file handle if ds_parse_sound() fails. That can lead to a "A free Cfile_block could not be found." error if a mod contains a corrupted audio file. BTA ran into this problem when FSO couldn't read a .wav file: http://www.hard-light.net/forums/index.php?topic=89914.0 | ||||
| Steps To Reproduce | Create a ship or weapon which uses a corrupted sound file and use it in FSO. | ||||
| Tags | No tags attached. | ||||