Opened 8 years ago
Closed 8 years ago
#10070 closed Bugs (fixed)
Boost.Coroutine tests mmap return value in a wrong way
Reported by: | Owned by: | olli | |
---|---|---|---|
Milestone: | To Be Determined | Component: | coroutine |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
boost_1_55_0/libs/coroutine/src/detail/standard_stack_allocator_posix.cpp:125 MMAP(2) returns MAP_FAILED on fail, which is (void *)(-1), not NULL or 0. The line should be change to: if (limit == (void *)(-1) /*MAP_FAILED*/) throw std::bad_alloc();
Change History (3)
comment:1 by , 8 years ago
Component: | None → coroutine |
---|---|
Owner: | set to |
comment:2 by , 8 years ago
Version: | Boost 1.54.0 → Boost 1.55.0 |
---|
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
already fixed in branch develop (1.56), thx