search for: _malloca

Displaying 5 results from an estimated 5 matches for "_malloca".

Did you mean: malloca
2012 Sep 19
7
[LLVMdev] Handling of unsafe functions
...secure methods. The following table lists all these functions are their recommended secure alternatives. Recommended alternatives: Functions Windows Unix/Mac OS Memcpy memcpy_s - Sprint sprintf_s snprintf Sscanf scanf_s - _alloca _malloca - Strcat strcat_s strlcat Strcpy strcpy_s strlcpy Strtok strtok_s - The proposal is to add secure versions of these functions. These functions will be implemented in LLVM Support module and be used by all other LLVM modules. The int...
2012 Sep 19
0
[LLVMdev] Handling of unsafe functions
...heir recommended secure > alternatives. > > > > Recommended alternatives: > > Functions Windows Unix/Mac OS > > Memcpy memcpy_s - > > Sprint sprintf_s snprintf > > Sscanf scanf_s - > > _alloca _malloca - > > Strcat strcat_s strlcat > > Strcpy strcpy_s strlcpy > > Strtok strtok_s - > > > > The proposal is to add secure versions of these functions. These functions > will be implemented in LLVM Support modu...
2012 Sep 19
0
[LLVMdev] Handling of unsafe functions
...t; unsecure methods. The following table lists all these functions are > their recommended secure alternatives. > > Recommended alternatives: > > Functions Windows Unix/Mac OS > > Memcpy memcpy_s - > > Sprint sprintf_s snprintf > > Sscanf scanf_s - > > _alloca _malloca - > > Strcat strcat_s strlcat > > Strcpy strcpy_s strlcpy > > Strtok strtok_s - > > The proposal is to add secure versions of these functions. These > functions will be implemented in LLVM Support module and be used by all > other LLVM modules. The interface of these m...
2012 Sep 20
1
[LLVMdev] Handling of unsafe functions
...eir recommended secure > alternatives. > > > > Recommended alternatives: > > Functions Windows Unix/Mac OS > > Memcpy memcpy_s - > > Sprint sprintf_s snprintf > > Sscanf scanf_s - > > _alloca _malloca - > > Strcat strcat_s strlcat > > Strcpy strcpy_s strlcpy > > Strtok strtok_s - > > > > The proposal is to add secure versions of these functions. These > functions will be implemented in LLVM Support mod...
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...* Use stack for the most common cases, heap when bytes_needed is larger than 4032 (unlikely) + * Note that this is a _very_ conservative estimation. + */ +#if defined(_MSC_VER) +/* see http://msdn.microsoft.com/en-us/library/5471dc8s(v=vs.80).aspx for the rationale */ + FLAC__byte *tmp = _malloca(bytes_needed); +#else + const FLAC__bool usealloca = (bytes_needed < 4032); + FLAC__byte *tmp = usealloca ? alloca(bytes_needed) : safe_malloc_(bytes_needed); +#endif + format_input_(tmp, signal, channels, samples, bytes_per_sample); + const FLAC__bool retval = (EVP_DigestUpdate(ctx,...