citra/src/audio_core/hle
James Rowe 87facaa2e2 Prevent out of memory errors when the game passes in an improper length value
HACK

In Luigi's Mansion Dark Moon in HLE audio, the game mysteriously passes
in an extremely large value for length, which without any checks, causes
HLE audio to allocate an extremely large buffer.

This value seemingly is caused by some other HLE audio feature is missing,
and Luigi's Mansion subtracts two values to get a length, without
checking for overflow first. This appears to be caused by an incorrect
HLE audio emulation, as its fixed entirely by only changing to LLE. As
such, further investigation is required, but in the meantime, completely
eating up our users RAM is unacceptable.
2019-12-14 18:18:59 -07:00
..
adts.h audio_core: hle: mf: address yet another batch of reviews 2019-02-09 13:55:42 -07:00
adts_reader.cpp audio_core: hle: mf: address yet another batch of reviews 2019-02-09 13:55:42 -07:00
common.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
decoder.cpp more reviews addressed 2019-02-09 11:55:12 +01:00
decoder.h Addressed reviews 2019-02-09 11:55:12 +01:00
ffmpeg_decoder.cpp audio_core: dsp_hle: use better f32 to s16... 2019-05-01 15:58:26 -06:00
ffmpeg_decoder.h audio_core: hle: fix compile 2019-02-09 11:56:51 +01:00
ffmpeg_dl.cpp more reviews addressed 2019-02-09 11:55:12 +01:00
ffmpeg_dl.h more reviews addressed 2019-02-09 11:55:12 +01:00
filter.cpp audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
filter.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
hle.cpp audio_core: hle: fix compile 2019-02-09 11:56:51 +01:00
hle.h audio_core/hle,lle: implement UnloadComponent 2018-12-21 20:49:21 -05:00
mixers.cpp audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
mixers.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
pipe.h audio_core: Remove global state 2018-02-03 15:15:17 +00:00
shared_memory.h Merge pull request #4655 from tgsm/gcc-version 2019-02-22 16:21:21 -05:00
source.cpp Prevent out of memory errors when the game passes in an improper length value 2019-12-14 18:18:59 -07:00
source.h audio_core: use nested namespaces 2019-02-17 23:41:48 -05:00
wmf_decoder.cpp audio_core: dsp_hle: use better f32 to s16... 2019-05-01 15:58:26 -06:00
wmf_decoder.h audio_core: dsp_hle: add Media Foundation decoder... 2019-02-09 11:56:51 +01:00
wmf_decoder_utils.cpp audio_core: hle: mf: lint 2019-02-13 15:15:11 -07:00
wmf_decoder_utils.h audio_core: hle: mf: lint 2019-02-13 15:15:11 -07:00