Fixes: check results of memory allocation functions
Fixes: check for NULL pointers before dereference
Fixes: don't use uninitialized vars
Fixes: checks for buffer overrun
Fixes: wrong log strings
Fixes: remove large buffers from stack
ElementText: replace 'char *' with 'std::string'
[win32] AESinkDirectSound: check result of GetStatus()
GUIWindowTestPatternDX::DrawCheckers: check input parameters
AEChannelInfo::BestMatch: fix use boolean in arithmetics
XMLUtils::GetHex: check result of sscanf()
ActiveAEResample::Init: transform to 64bit before shift
CueDocument: replace call of isdigit() with StringUtils::isasciidigit()
cc_decoder: suppress printing to stderr and stdout
Merge pull request #5045 from Karlson2k/code_fixes_11

Code fixes