SDL/src/audio
Sam Lantinga cbafb158b0 Fixed bug 2467 - bad memcpy in SDL_OpenAudio/open_audio_device/prepare_audiospec chain
Rainer Deyke

If 'SDL_OpenAudio' is called with 'obtained == NULL', 'prepare_audiospec' performs a bad 'memcpy' with the destination and source pointing to the same block of memory.  The problem appears to be on in 'SDL_OpenAudio', which calls open_audio_device with 'obtained = desired' when 'obtained == NULL'.  'open_audio_device' cannot deal with 'desired' and 'obtained' pointing to the same block of memory but can deal with 'obtained == NULL'
2014-06-24 01:38:21 -07:00
..
alsa Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
android Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
arts Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
bsd Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
coreaudio Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
directsound Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
disk Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
dsp Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
dummy Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
esd Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
fusionsound Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
haiku Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
nacl Fixes audio for Native Client, and other fixes... 2014-06-08 18:18:13 -03:00
nas Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
paudio Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
psp Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
pulseaudio Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
qsa Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
sndio Fixed bug 2580 - sndio backend improvements 2014-06-15 17:26:30 -07:00
sun Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
winmm Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
xaudio2 Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audio.c Fixed bug 2467 - bad memcpy in SDL_OpenAudio/open_audio_device/prepare_audiospec chain 2014-06-24 01:38:21 -07:00
SDL_audio_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audiocvt.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audiodev.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audiodev_c.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audiomem.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_audiotypecvt.c Regenerated SDL_audiotypecvt.c with updated perl script. 2014-06-10 19:39:33 -04:00
SDL_mixer.c Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_sysaudio.h Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00
SDL_wave.c Fixed bug 1673 - BEXT wave files only have extra metadata that you can easily skip through 2014-06-22 10:05:59 -07:00
SDL_wave.h Fixed bug 1673 - BEXT wave files only have extra metadata that you can easily skip through 2014-06-22 10:05:59 -07:00
sdlgenaudiocvt.pl Fix audio resampling in some cases. 2014-06-10 19:37:59 -04:00