llama.cpp releases version b11871: adds a limit on JSON nesting depth to prevent service crashes
llama.cpp introduced a critical security fix in version b11871, imposing a hard limit of 128 nested JSON levels on requests to prevent HTTP thread stack overflows and service crashes caused by deep recursive parsing (triggering SIGBUS on macOS and SIGSEGV on Linux). This policy covers multiple input scenarios for the chat interface and uniformly returns an HTTP 400 error.