2019-10-14 10:41 EDT


View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003168FSSCPsoundpublic2015-07-11 05:52
Reporterngld 
Assigned Tom_m 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version3.7.3 
Target VersionFixed in Version 
Summary0003168: snd_load leaks cfile handles if it can't parse a file.
Descriptionsnd_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 ReproduceCreate a ship or weapon which uses a corrupted sound file and use it in FSO.
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes

~0016761

m_m (developer)

PR containing a fix: https://github.com/scp-fs2open/fs2open.github.com/pull/232
+Notes

-Issue History
Date Modified Username Field Change
2015-07-10 21:20 ngld New Issue
2015-07-11 04:59 m_m Note Added: 0016761
2015-07-11 05:52 m_m Status new => resolved
2015-07-11 05:52 m_m Resolution open => fixed
2015-07-11 05:52 m_m Assigned To => m_m
+Issue History