[Bug 2145] New: CONFIGURE_BDBUF_* macros should be range checked
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sun Sep 15 17:58:01 UTC 2013
https://www.rtems.org/bugzilla/show_bug.cgi?id=2145
Bug #: 2145
Summary: CONFIGURE_BDBUF_* macros should be range checked
Classification: Unclassified
Product: RTEMS
Version: HEAD
Platform: All
OS/Version: RTEMS
Status: NEW
Severity: normal
Priority: P3
Component: filesystem
AssignedTo: chrisj at rtems.org
ReportedBy: claus at SLAC.Stanford.edu
Setting :
#define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS (64 * 1024)
causes bdbuf to allocate 1 MB of stack space, which is bigger than the size of
the standard stack.
Chris e-mailed me that "We should range check the value at start up and fail if
beyond a reasonable value." Sebastian added "Yes, we should check that this
doesn't exceed 12.5% (off hand guess) of the threads minimum stack size."
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list