248 よくある誤用: 例外処理

#248 Often Misused: Exception Handlingより。

The _alloca() function allocates memory on the stack. If an allocation request is too large for the available stack space, _alloca() throws an exception. If the exception is not caught, the program will crash, potentially enabling a denial of service attack. _alloca() has been deprecated as of Microsoft Visual Studio 2005®. It has been replaced with the more secure _alloca_s().

どのプラットフォームでも、というわけじゃないだろうけど、alloca() がシグナルや例外を出す場合があるのか。注意しなきゃ。