From 390e987eb365c935ea3f3d2c958ddbb8bd52e5e5 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 16 Sep 2013 10:43:30 +0200 Subject: libblock: PR2145: Limit maximum read-ahead blocks This helps to prevent stack overflows due to configuration errors. --- cpukit/libblock/include/rtems/bdbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libblock/include/rtems/bdbuf.h') diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h index cde32d7c4c..2794af7300 100644 --- a/cpukit/libblock/include/rtems/bdbuf.h +++ b/cpukit/libblock/include/rtems/bdbuf.h @@ -460,7 +460,7 @@ extern const rtems_bdbuf_config rtems_bdbuf_configuration; * @retval RTEMS_SUCCESSFUL Successful operation. * @retval RTEMS_CALLED_FROM_ISR Called from an interrupt context. * @retval RTEMS_INVALID_NUMBER The buffer maximum is not an integral multiple - * of the buffer minimum. + * of the buffer minimum. The maximum read-ahead blocks count is too large. * @retval RTEMS_RESOURCE_IN_USE Already initialized. * @retval RTEMS_UNSATISFIED Not enough resources. */ -- cgit v1.2.3