Opened 11 years ago
Closed 10 years ago
#5969 closed Bugs (fixed)
Infinite loop in library_status
Reported by: | Owned by: | René Rivera | |
---|---|---|---|
Milestone: | To Be Determined | Component: | Regression Testing USE GITHUB |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
When running library_status from the wrong folder, it go into infinite loop. The following code seems to be responsible (in library_status.cpp, function find_lib_name):
for(count = 0;; ++count){
if(*--e_itr == "libs")
break;
if(lib_test_dir.empty())
throw std::string("must be run from within a library directory");
Why testing lib_test_dir.empty()? Testing e_itr would not work either since operator-- loops when it gets to the start...
Note:
See TracTickets
for help on using tickets.
fixed.